Skip to content

Commit 59b1ebb

Browse files
Update src/jvp.jl
1 parent 39767f4 commit 59b1ebb

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
@@ -30,7 +30,7 @@ function JVPCache(
3030
fx,
3131
fdtype::Union{Val{FD},Type{FD}} = Val(:forward)) where {FD}
3232
fdtype isa Type && (fdtype = fdtype())
33-
JVPCache{typeof(x), typeof(fx), fdtype}(copy(x),fx)
33+
JVPCache{typeof(x), typeof(fx), fdtype}(x,fx)
3434
end
3535

3636
"""

0 commit comments

Comments
 (0)