Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 57f4a55

Browse files
committed
Revert extraneous change to out-of-place zygote hessian
1 parent c8b45c0 commit 57f4a55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/SparseDiffToolsZygote.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function SparseDiffTools.numback_hesvec(f, x, v)
3838
gxp = g(x)
3939
x -= 2ϵ * v
4040
gxm = g(x)
41-
@. x += ϵ * v
4241
(gxp - gxm) / (2ϵ)
4342
end
4443

0 commit comments

Comments
 (0)