Skip to content

Commit 602537b

Browse files
committed
Oops, accidentally removed fdm test
1 parent c978812 commit 602537b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_util.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ function test_scalar(f, x; rtol=1e-9, atol=1e-9, fdm=_fdm, kwargs...)
3333
∂self, ∂x = ∂x
3434
@test ∂self === NO_FIELDS
3535
end
36+
@test isapprox(∂x, fdm(f, x);
37+
rtol=rtol, atol=atol, kwargs...)
3638
end
3739
end
3840

0 commit comments

Comments
 (0)