Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 27, 2024
1 parent af992e8 commit 3feb247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/benchmark-models/test_petab_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def test_benchmark_gradient(model, scale):

sizes = [
1e-1,
5e-2,
1e-2,
1e-3,
1e-4,
Expand All @@ -148,7 +149,7 @@ def test_benchmark_gradient(model, scale):
sizes=sizes,
direction_ids=parameter_ids,
method_ids=[MethodId.CENTRAL, MethodId.FORWARD, MethodId.BACKWARD],
success_checker=Consistency(atol=1e-4, rtol=1e-1),
success_checker=Consistency(atol=1e-5, rtol=1e-1),
expected_result=expected_derivative,
relative_sizes=not scale,
)
Expand Down

0 comments on commit 3feb247

Please sign in to comment.