Skip to content

Commit 2c76386

Browse files
committed
fixes
1 parent 5a2f915 commit 2c76386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/NonlinearSolveBase/src/jacobian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function construct_jacobian_cache(
6161
end
6262

6363
J = if !needs_jac
64-
StatefulJacobianOperator(JacobianOperator(prob, fu, u; jvp_autodiff, vjp_autodiff), cache.u, cache.p)
64+
StatefulJacobianOperator(JacobianOperator(prob, fu, u; jvp_autodiff, vjp_autodiff), u, p)
6565
else
6666
if f.jac_prototype === nothing
6767
# While this is technically wasteful, it gives out the type of the Jacobian

0 commit comments

Comments
 (0)