|
16 | 16 | function SciMLBase.__solve(prob::SciMLBase.AbstractSteadyStateProblem, alg::DynamicSS, |
17 | 17 | args...; abstol = 1e-8, reltol = 1e-6, odesolve_kwargs = (;), |
18 | 18 | save_idxs = nothing, termination_condition = NonlinearSolveBase.NormTerminationMode(infnorm), |
19 | | - alias_u0 = false, kwargs...) |
| 19 | + alias = SciMLBase.NonlinearAliasSpecifier(), kwargs...) |
20 | 20 | tspan = __get_tspan(prob.u0, alg) |
21 | 21 |
|
22 | 22 | f = if prob isa SteadyStateProblem |
@@ -55,7 +55,8 @@ function SciMLBase.__solve(prob::SciMLBase.AbstractSteadyStateProblem, alg::Dyna |
55 | 55 | odeprob = ODEProblem{isinplace(prob), true}(f, prob.u0, tspan, prob.p) |
56 | 56 | odesol = solve(odeprob, alg.alg, args...; abstol, reltol, kwargs..., |
57 | 57 | odesolve_kwargs..., callback, save_end = true, |
58 | | - alias = SciMLBase.ODEAliasSpecifier(; alias_u0)) |
| 58 | + alias = SciMLBase.ODEAliasSpecifier(; alias_p = alias.alias_p, |
| 59 | + alias_f = alias.alias_f, alias_u0 = alias.alias_u0)) |
59 | 60 |
|
60 | 61 | resid, u, retcode = __get_result_from_sol(termination_condition, tc_cache, odesol) |
61 | 62 |
|
|
0 commit comments