diff --git a/test/adjoint.jl b/test/adjoint.jl index abfd84c2..809feba8 100644 --- a/test/adjoint.jl +++ b/test/adjoint.jl @@ -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 dA≈dA2 atol=1e-3 +@test dA≈dA2 rtol=1e-3 @test db1 ≈ db12 @test db2 ≈ db22