Skip to content

Commit 7d4dfdb

Browse files
author
oscarddssmith
committed
typo
1 parent 37ccbee commit 7d4dfdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function finite_difference_jvp!(
177177
end
178178
@. x1 = x + epsilon * v
179179
f(jvp, x1)
180-
@. jvp = (jvp-fx)/epsilon
180+
@. jvp = (jvp-fx1)/epsilon
181181
elseif fdtype == Val(:central)
182182
@. x1 = x - epsilon * v
183183
f(fx1, x1)

0 commit comments

Comments
 (0)