Skip to content

Commit 33241c7

Browse files
authored
CI: Adjust scipy integration tolerances (AMICI-dev#3118)
Fixes AMICI-dev#3116.
1 parent 2d0dd5b commit 33241c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/tests/test_bngl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def test_compare_to_pysb_simulation(example):
4949
with suppress(ValueError):
5050
RESERVED_SYMBOLS.remove("NULL")
5151

52-
atol = 1e-8
53-
rtol = 1e-8
52+
atol = 1e-12
53+
rtol = 1e-10
5454

5555
model_file = os.path.join(
5656
os.path.dirname(__file__),

python/tests/test_pysb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def test_compare_to_sbml_import(
149149
@skip_on_valgrind
150150
@pytest.mark.parametrize("example", pysb_models + custom_models)
151151
def test_compare_to_pysb_simulation(example):
152-
atol = 1e-8
153-
rtol = 1e-8
152+
atol = 1e-12
153+
rtol = 1e-10
154154

155155
with amici.add_path(os.path.dirname(pysb.examples.__file__)):
156156
with amici.add_path(

0 commit comments

Comments
 (0)