We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c978812 commit 602537bCopy full SHA for 602537b
test/test_util.jl
@@ -33,6 +33,8 @@ function test_scalar(f, x; rtol=1e-9, atol=1e-9, fdm=_fdm, kwargs...)
33
∂self, ∂x = ∂x
34
@test ∂self === NO_FIELDS
35
end
36
+ @test isapprox(∂x, fdm(f, x);
37
+ rtol=rtol, atol=atol, kwargs...)
38
39
40
0 commit comments