Skip to content

Commit 09c6767

Browse files
committed
fix
1 parent 60e6855 commit 09c6767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/grad.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ end
235235
@testset "jvp: Estimate step correctly for when some terms are nan/infinite" begin
236236
fdm = FiniteDifferences.central_fdm(5, 1)
237237
res = jvp(fdm, partial_nan_returning, (3.1, 2.7))
238-
@test res[1] 2.7
238+
@test res[2] 2.7
239239

240240
res = jvp(fdm, partial_nondet_returning, (3.1, 2.7))
241-
@test res[1] 2.7
241+
@test res[2] 2.7
242242
end

0 commit comments

Comments
 (0)