Skip to content

Commit d7b07c9

Browse files
committed
get rid of get_concrete_problem for SteadyStateProblem
1 parent 9291aea commit d7b07c9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/solve.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -567,17 +567,17 @@ function get_concrete_problem(prob::AbstractJumpProblem, isadapt; kwargs...)
567567
get_updated_symbolic_problem(SciMLBase.get_root_indp(prob), prob; kwargs...)
568568
end
569569

570-
function get_concrete_problem(prob::SteadyStateProblem, isadapt; kwargs...)
571-
oldprob = prob
572-
prob = get_updated_symbolic_problem(SciMLBase.get_root_indp(prob), prob; kwargs...)
573-
if prob !== oldprob
574-
kwargs = (; kwargs..., u0 = SII.state_values(prob), p = SII.parameter_values(prob))
575-
end
576-
p = get_concrete_p(prob, kwargs)
577-
u0 = get_concrete_u0(prob, isadapt, Inf, kwargs)
578-
u0 = promote_u0(u0, p, nothing)
579-
remake(prob; u0 = u0, p = p)
580-
end
570+
# function get_concrete_problem(prob::SteadyStateProblem, isadapt; kwargs...)
571+
# oldprob = prob
572+
# prob = get_updated_symbolic_problem(SciMLBase.get_root_indp(prob), prob; kwargs...)
573+
# if prob !== oldprob
574+
# kwargs = (; kwargs..., u0 = SII.state_values(prob), p = SII.parameter_values(prob))
575+
# end
576+
# p = get_concrete_p(prob, kwargs)
577+
# u0 = get_concrete_u0(prob, isadapt, Inf, kwargs)
578+
# u0 = promote_u0(u0, p, nothing)
579+
# remake(prob; u0 = u0, p = p)
580+
# end
581581

582582
function get_concrete_problem(prob::AbstractEnsembleProblem, isadapt; kwargs...)
583583
prob

0 commit comments

Comments
 (0)