We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39767f4 commit 59b1ebbCopy full SHA for 59b1ebb
src/jvp.jl
@@ -30,7 +30,7 @@ function JVPCache(
30
fx,
31
fdtype::Union{Val{FD},Type{FD}} = Val(:forward)) where {FD}
32
fdtype isa Type && (fdtype = fdtype())
33
- JVPCache{typeof(x), typeof(fx), fdtype}(copy(x),fx)
+ JVPCache{typeof(x), typeof(fx), fdtype}(x,fx)
34
end
35
36
"""
0 commit comments