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 9aa68a2 commit f0dda1fCopy full SHA for f0dda1f
lib/NonlinearSolveBase/src/jacobian.jl
@@ -61,7 +61,7 @@ function construct_jacobian_cache(
61
end
62
63
J = if !needs_jac
64
- StatefulJacobianOperator(JacobianOperator(prob, fu, u; jvp_autodiff, vjp_autodiff), cache.u, cache.p)
+ StatefulJacobianOperator(JacobianOperator(prob, fu, u; jvp_autodiff, vjp_autodiff), u, p)
65
else
66
if f.jac_prototype === nothing
67
# While this is technically wasteful, it gives out the type of the Jacobian
0 commit comments