Skip to content

Commit

Permalink
(hopefully) final fixes in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Jan 12, 2025
1 parent 03d27b6 commit 0cecee8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ad/linsolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ end
fvec)
(JA′, Jb′, Jc′, Jd′, Je′, Jf′) = Zygote.jacobian(fun_example, Avec, bvec, cvec,
dvec, evec, fvec)
rtol = cond(A + c * d') * sqrt(eps(real(T)))
rtol = 2 * cond(A + c * d') * sqrt(eps(real(T)))
@test isapprox(JA, JA′; rtol=rtol)
@test isapprox(Jb, Jb′; rtol=rtol)
@test isapprox(Jc, Jc′; rtol=rtol)
Expand Down
Empty file removed test/gklfactorize.jl
Empty file.

0 comments on commit 0cecee8

Please sign in to comment.