We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feae8a3 commit 852ad71Copy full SHA for 852ad71
src/function_wrappers.jl
@@ -40,6 +40,7 @@ function (ff::ParamJacobianWrapper)(du1,p)
40
end
41
42
function (ff::ParamJacobianWrapper)(p)
43
- du1 = similar(uprev)
+ du1 = similar(p, size(ff.u))
44
ff.f(du1,ff.u,p,ff.t)
45
+ return du1
46
0 commit comments