Skip to content

Commit

Permalink
[Test] Adjust integrator tolerance for MoleReactor tests
Browse files Browse the repository at this point in the history
Running with very loose integrator tolerances leads to integrator errors
for certain system configurations. This was seen specifically on the
"Sundials" CI runners.
  • Loading branch information
speth committed Jan 12, 2023
1 parent dff1afd commit 1138adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/test_reactor.py
Expand Up @@ -258,7 +258,7 @@ def integrate(atol, rtol):
return nSteps

n_baseline = integrate(1e-10, 1e-20)
n_rtol = integrate(5e-7, 1e-20)
n_rtol = integrate(1e-7, 1e-20)
n_atol = integrate(1e-10, 1e-5)
assert n_baseline > n_rtol
assert n_baseline > n_atol
Expand Down

0 comments on commit 1138adf

Please sign in to comment.