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 539ee50 commit 9a09989Copy full SHA for 9a09989
test/grad.jl
@@ -242,10 +242,8 @@ end
242
@testset "jvp: Estimate step correctly for when some terms are nan/infinite" begin
243
fdm = FiniteDifferences.central_fdm(5, 1)
244
res = jvp(fdm, partial_nan_returning, (3.1, 2.7))
245
- @show res
246
- @test Hermitian(res) .≈ 2.7
+ @test all(Hermitian(res) .≈ 2.7)
247
248
res = jvp(fdm, partial_nondet_returning, (3.1, 2.7))
249
250
251
end
0 commit comments