Skip to content

Commit

Permalink
Merge pull request #485 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Bump finite difference test tolerance a bit on adjoints
  • Loading branch information
ChrisRackauckas authored Mar 23, 2024
2 parents 96cefaf + 81d2c12 commit 4114698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ KLU = "0.6"
KernelAbstractions = "0.9.16"
Krylov = "0.9"
KrylovKit = "0.6"
LazyArrays = "1"
LazyArrays = "1.8"
Libdl = "1.10"
LinearAlgebra = "1.10"
MPI = "0.20"
Expand Down
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 4114698

Please sign in to comment.