Skip to content

Commit

Permalink
Use extras when initializing Jacobian
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Oct 4, 2024
1 parent f1969a2 commit 5833142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/jacobian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function JacobianCache(prob, alg, f::F, fu_, u, p; stats, autodiff = nothing,
if iip
DI.jacobian(f, fu, di_extras, autodiff, u, Constant(p))
else
DI.jacobian(f, autodiff, u, Constant(p))
DI.jacobian(f, di_extras, autodiff, u, Constant(p))
end
end
else
Expand Down

0 comments on commit 5833142

Please sign in to comment.