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 60e6855 commit 09c6767Copy full SHA for 09c6767
test/grad.jl
@@ -235,8 +235,8 @@ end
235
@testset "jvp: Estimate step correctly for when some terms are nan/infinite" begin
236
fdm = FiniteDifferences.central_fdm(5, 1)
237
res = jvp(fdm, partial_nan_returning, (3.1, 2.7))
238
- @test res[1] ≈ 2.7
+ @test res[2] ≈ 2.7
239
240
res = jvp(fdm, partial_nondet_returning, (3.1, 2.7))
241
242
end
0 commit comments