Skip to content

Commit d393d12

Browse files
committed
Fix Project.toml
Oops, accidentally removed fdm test
1 parent 08191e2 commit d393d12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1010
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1111

1212
[compat]
13-
Reexport = "0.2"
14-
Requires = "0.5.2"
1513
ChainRulesCore = "0.5"
1614
FiniteDifferences = "^0.7"
1715
Reexport = "0.2"

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)