Skip to content

Commit d6167c9

Browse files
committed
fix: ordering in jacobian call
1 parent 461a05a commit d6167c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SimpleNonlinearSolve/src/utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function compute_jacobian!!(J, prob, autodiff, fx, x, extras)
193193
end
194194
end
195195
if SciMLBase.isinplace(prob)
196-
DI.jacobian!(prob.f, J, fx, extras, autodiff, x, Constant(prob.p))
196+
DI.jacobian!(prob.f, fx, J, extras, autodiff, x, Constant(prob.p))
197197
else
198198
DI.jacobian!(prob.f, J, extras, autodiff, x, Constant(prob.p))
199199
end

0 commit comments

Comments
 (0)