From 20977ef95f795aa625f06afbd3ac197ca6234a6b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 11 Apr 2023 22:13:21 -0400 Subject: [PATCH] [Test] Avoid modifying shared Solution object --- test/python/test_kinetics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/python/test_kinetics.py b/test/python/test_kinetics.py index c9727e1cca..bd5500f484 100644 --- a/test/python/test_kinetics.py +++ b/test/python/test_kinetics.py @@ -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 @@ -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