Skip to content

Commit

Permalink
Oops, accidentally removed fdm test
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Jan 11, 2020
1 parent c978812 commit 602537b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ function test_scalar(f, x; rtol=1e-9, atol=1e-9, fdm=_fdm, kwargs...)
∂self, ∂x = ∂x
@test ∂self === NO_FIELDS
end
@test isapprox(∂x, fdm(f, x);
rtol=rtol, atol=atol, kwargs...)
end
end

Expand Down

0 comments on commit 602537b

Please sign in to comment.