From 9dd30c711639c3a42f95477a8dd3fadeecab279b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 9 Dec 2013 01:34:16 +0000 Subject: [PATCH] [Test] Adjust integrator tolerances for some reactor tests Tests of the old-style ConstPressureReactor with surface reactions were failing on Windows when using the old (non-Sundials) version of CVODE. --- interfaces/cython/cantera/test/test_reactor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/cython/cantera/test/test_reactor.py b/interfaces/cython/cantera/test/test_reactor.py index 1c119a843..e404b1737 100644 --- a/interfaces/cython/cantera/test/test_reactor.py +++ b/interfaces/cython/cantera/test/test_reactor.py @@ -661,6 +661,8 @@ class TestConstPressureReactor(utilities.CanteraTest): def test_with_surface_reactions(self): self.create_reactors(add_surf=True) + self.net1.atol = self.net2.atol = 1e-18 + self.net1.rtol = self.net2.rtol = 1e-9 self.integrate(surf=True)