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.
1 parent 4e5e723 commit 2147dc6Copy full SHA for 2147dc6
src/systems/nonlinear/initializesystem.jl
@@ -35,7 +35,8 @@ function generate_initializesystem(sys::ODESystem;
35
y = get(schedule.dummy_sub, x[1], x[1])
36
y isa Symbolics.Arr ? collect(x[1]) .=> x[2] : x[1] => x[2]
37
end
38
- filtered_u0 = todict(reduce(vcat, filtered_u0))
+ filtered_u0 = reduce(vcat, filtered_u0)
39
+ filtered_u0 = filtered_u0 isa Pair ? todict([filtered_u0]) : todict(filtered_u0)
40
41
else
42
dd_guess = Dict()
0 commit comments