Skip to content

Commit

Permalink
fix: ordering in jacobian call
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 4, 2024
1 parent f59fc6a commit dcf2c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SimpleNonlinearSolve/src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function compute_jacobian!!(J, prob, autodiff, fx, x, extras)
end
end
if SciMLBase.isinplace(prob)
DI.jacobian!(prob.f, J, fx, extras, autodiff, x, Constant(prob.p))
DI.jacobian!(prob.f, fx, J, extras, autodiff, x, Constant(prob.p))
else
DI.jacobian!(prob.f, J, extras, autodiff, x, Constant(prob.p))
end
Expand Down

0 comments on commit dcf2c7f

Please sign in to comment.