We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
late_binding_update_u0_p
Initial
1 parent a9ca3e7 commit 216aa73Copy full SHA for 216aa73
src/systems/nonlinear/initializesystem.jl
@@ -661,6 +661,7 @@ function SciMLBase.late_binding_update_u0_p(
661
# if `p` is not provided or is symbolic
662
p === missing || eltype(p) <: Pair || return newu0, newp
663
newu0 === nothing && return newu0, newp
664
+ all(is_parameter(sys, Initial(x)) for x in unknowns(sys)) || return newu0, newp
665
newp = p === missing ? copy(newp) : newp
666
initials, repack, alias = SciMLStructures.canonicalize(
667
SciMLStructures.Initials(), newp)
0 commit comments