Skip to content

Commit

Permalink
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Aayush Sabharwal <[email protected]>
  • Loading branch information
ChrisRackauckas and AayushSabharwal authored Nov 15, 2024
1 parent a2a9874 commit c1a0c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function CommonSolve.solve(prob::SciMLBase.SCCNonlinearProblem, alg; kwargs...)

lasti = 1
for i in 1:numscc
prob.explictfuns![i](prob.probs[i].p[1],sols)
prob.explictfuns![i](parameter_values(prob.probs[i])[1],sols)
sol = SciMLBase.solve(prob.probs[i], alg; kwargs...)
_sol = SciMLBase.build_solution(prob.probs[i], nothing, sol.u, sol.resid, retcode = sol.retcode)
sols[i] = _sol
Expand Down

0 comments on commit c1a0c50

Please sign in to comment.