Skip to content

Commit 9a09989

Browse files
committed
all
1 parent 539ee50 commit 9a09989

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/grad.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,8 @@ end
242242
@testset "jvp: Estimate step correctly for when some terms are nan/infinite" begin
243243
fdm = FiniteDifferences.central_fdm(5, 1)
244244
res = jvp(fdm, partial_nan_returning, (3.1, 2.7))
245-
@show res
246-
@test Hermitian(res) .≈ 2.7
245+
@test all(Hermitian(res) .≈ 2.7)
247246

248247
res = jvp(fdm, partial_nondet_returning, (3.1, 2.7))
249-
@show res
250-
@test Hermitian(res) .≈ 2.7
248+
@test all(Hermitian(res) .≈ 2.7)
251249
end

0 commit comments

Comments
 (0)