Skip to content

Commit 60afb5d

Browse files
sharanryChrisRackauckas
authored andcommitted
Switch to reltol from abstol for tests
1 parent 59edb4e commit 60afb5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/enzyme.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ en_jac = map(onehot(b1)) do db1
186186
end |> collect
187187
@show en_jac
188188

189-
@test en_jac fd_jac atol=1e-6
189+
@test en_jac fd_jac rtol=1e-6
190190

191191
function fA(A; alg = LUFactorization())
192192
prob = LinearProblem(A, b1)
@@ -206,4 +206,4 @@ en_jac = map(onehot(A)) do dA
206206
end |> collect
207207
@show en_jac
208208

209-
@test en_jac fd_jac atol=1e-6
209+
@test en_jac fd_jac rtol=1e-6

0 commit comments

Comments
 (0)