Skip to content

Commit

Permalink
Merge pull request #2541 from AayushSabharwal/as/hotfix
Browse files Browse the repository at this point in the history
fix: fix call to `get_initial_values`
  • Loading branch information
ChrisRackauckas authored Nov 21, 2024
2 parents 79ff531 + 9428251 commit b1bfed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqCore/src/initialize_dae.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function _initialize_dae!(integrator, prob::AbstractDEProblem,

nlsolve_alg = default_nlsolve(alg.nlsolve, isinplace, initializeprob.u0, initializeprob, isAD)

u0, p, success = SciMLBase.get_initial_values(prob, prob.f, integrator, alg, isinplace; nlsolve_alg, abstol = integrator.opts.abstol, reltol = integrator.opts.reltol)
u0, p, success = SciMLBase.get_initial_values(prob, integrator, prob.f, alg, isinplace; nlsolve_alg, abstol = integrator.opts.abstol, reltol = integrator.opts.reltol)

if isinplace === Val{true}()
integrator.u .= u0
Expand Down

0 comments on commit b1bfed0

Please sign in to comment.