Skip to content

Commit c1a0c50

Browse files
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
Co-authored-by: Aayush Sabharwal <[email protected]>
1 parent a2a9874 commit c1a0c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function CommonSolve.solve(prob::SciMLBase.SCCNonlinearProblem, alg; kwargs...)
1111

1212
lasti = 1
1313
for i in 1:numscc
14-
prob.explictfuns![i](prob.probs[i].p[1],sols)
14+
prob.explictfuns![i](parameter_values(prob.probs[i])[1],sols)
1515
sol = SciMLBase.solve(prob.probs[i], alg; kwargs...)
1616
_sol = SciMLBase.build_solution(prob.probs[i], nothing, sol.u, sol.resid, retcode = sol.retcode)
1717
sols[i] = _sol

0 commit comments

Comments
 (0)