Skip to content

Commit

Permalink
Bump finite difference test tolerance a bit on adjoints
Browse files Browse the repository at this point in the history
It's sensitive to numerical details.
  • Loading branch information
ChrisRackauckas authored Mar 23, 2024
1 parent 96cefaf commit 6a97bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/adjoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ db12 = FiniteDiff.finite_difference_gradient(
db22 = FiniteDiff.finite_difference_gradient(
x -> f3(eltype(x).(A), eltype(x).(b1), x), copy(b1))

@test dAdA2 atol=5e-5
@test dAdA2 atol=1e-4
@test db1 db12
@test db2 db22

Expand Down

0 comments on commit 6a97bb0

Please sign in to comment.