You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/systems/discrete_system/implicit_discrete_system.jl
-3
Original file line number
Diff line number
Diff line change
@@ -298,9 +298,6 @@ function shift_u0map_forward(sys::ImplicitDiscreteSystem, u0map, defs)
298
298
for k incollect(keys(u0map))
299
299
v = u0map[k]
300
300
if!((op =operation(k)) isa Shift)
301
-
isnothing(getunshifted(k)) &&
302
-
@warn"Initial condition given in term of current state of the unknown. If `build_initializeprob = false`, this may be overridden by the implicit discrete solver."
303
-
304
301
updated[k] = v
305
302
elseif op.steps >0
306
303
error("Initial conditions must be for the current or past state of the unknowns. Instead of providing the condition for $k, provide the condition for $(Shift(iv, -1)(only(arguments(k)))).")
0 commit comments