Skip to content

Commit

Permalink
[Test] Avoid modifying shared Solution object
Browse files Browse the repository at this point in the history
  • Loading branch information
speth authored and ischoegl committed Apr 18, 2023
1 parent 5edba4e commit 20977ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/test_kinetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ def test_modify_invalid(self):
def test_modify_elementary(self):
gas = ct.Solution('h2o2.yaml', transport_model=None)
gas.TPX = self.gas.TPX
R = self.gas.reaction(2)
R = gas.reaction(2)
A1 = R.rate.pre_exponential_factor
b1 = R.rate.temperature_exponent
Ta1 = R.rate.activation_energy / ct.gas_constant
Expand All @@ -1607,7 +1607,7 @@ def test_modify_elementary(self):
def test_modify_third_body(self):
gas = ct.Solution('h2o2.yaml', transport_model=None)
gas.TPX = self.gas.TPX
R = self.gas.reaction(5)
R = gas.reaction(5)
A1 = R.rate.pre_exponential_factor
b1 = R.rate.temperature_exponent
T = gas.T
Expand Down

0 comments on commit 20977ef

Please sign in to comment.