Skip to content

Commit 539ee50

Browse files
committed
fix
1 parent 8253801 commit 539ee50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "FiniteDifferences"
22
uuid = "26cc04aa-876d-5657-8c51-4c34ba976000"
3-
version = "0.12.32"
3+
version = "0.12.33"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

test/grad.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ end
241241

242242
@testset "jvp: Estimate step correctly for when some terms are nan/infinite" begin
243243
fdm = FiniteDifferences.central_fdm(5, 1)
244-
res = jvp(fdm, partial_nan_returning, 3.1, 2.7)
244+
res = jvp(fdm, partial_nan_returning, (3.1, 2.7))
245245
@show res
246246
@test Hermitian(res) .≈ 2.7
247-
248-
res = jvp(fdm, partial_nondet_returning, 3.1, 2.7)
247+
248+
res = jvp(fdm, partial_nondet_returning, (3.1, 2.7))
249249
@show res
250250
@test Hermitian(res) .≈ 2.7
251251
end

0 commit comments

Comments
 (0)