Skip to content

Commit

Permalink
decrease integration tols
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Dec 18, 2024
1 parent 91be4f3 commit 9016bc0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/benchmark-models/test_petab_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,12 @@ def test_jax_llh(benchmark_problem):

amici_solver = amici_model.getSolver()
cur_settings = settings[problem_id]
amici_solver.setAbsoluteTolerance(1e-8)
amici_solver.setRelativeTolerance(1e-8)
if problem_id in ("Zheng_PNAS2012",):
tol = 1e-12
else:
tol = 1e-8
amici_solver.setAbsoluteTolerance(tol)
amici_solver.setRelativeTolerance(tol)
amici_solver.setMaxSteps(10_000)

simulate_amici = partial(
Expand Down

0 comments on commit 9016bc0

Please sign in to comment.