Skip to content

Commit

Permalink
Slightly relax the absolute tolerances to permit calculus tests to pa…
Browse files Browse the repository at this point in the history
…ss using the matrix differentiation option.
  • Loading branch information
mrhardman committed Nov 3, 2023
1 parent 6f382b4 commit 993006f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/calculus_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ function runtests()
# something like p*(round-off) for x^p (?) so error on expected_df
# would be p*p*(round-off), or plausibly 1024*(round-off), so
# tolerance of 3e-11 isn't unreasonable.
@test isapprox(df, expected_df, rtol=3.0e-11, atol=1.5e-11,
@test isapprox(df, expected_df, rtol=3.0e-11, atol=3.0e-11,
norm=maxabs_norm)
end
end
Expand Down

0 comments on commit 993006f

Please sign in to comment.