|
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 | | - kwargs...) |
| 19 | + alias = SciMLBase.NonlinearAliasSpecifier(), kwargs...) |
20 | 20 | tspan = __get_tspan(prob.u0, alg) |
21 | 21 |
|
22 | 22 | f = if prob isa SteadyStateProblem |
@@ -54,7 +54,9 @@ function SciMLBase.__solve(prob::SciMLBase.AbstractSteadyStateProblem, alg::Dyna |
54 | 54 | # Construct and solve the ODEProblem |
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 | | - odesolve_kwargs..., callback, save_end = true) |
| 57 | + odesolve_kwargs..., callback, save_end = true, |
| 58 | + alias = SciMLBase.ODEAliasSpecifier(; alias_p = alias.alias_p, |
| 59 | + alias_f = alias.alias_f, alias_u0 = alias.alias_u0)) |
58 | 60 |
|
59 | 61 | resid, u, retcode = __get_result_from_sol(termination_condition, tc_cache, odesol) |
60 | 62 |
|
|
0 commit comments