Skip to content

Commit a4a5ccf

Browse files
committed
filtered_u0 cannot be a Pair here
1 parent aa3f485 commit a4a5ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/nonlinear/initializesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function generate_initializesystem(sys::ODESystem;
6161
error("Initialization expression $y is currently not supported. If its a higher order derivative expression, then only the dummy derivative expressions are supported.")
6262
end
6363
end
64-
filtered_u0 = filtered_u0 isa Pair ? todict([filtered_u0]) : todict(filtered_u0)
64+
filtered_u0 = todict(filtered_u0)
6565
end
6666
else
6767
dd_guess = Dict()

0 commit comments

Comments
 (0)