Skip to content

Commit 9560797

Browse files
committed
up
1 parent b40c2a1 commit 9560797

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,8 @@ end
12051205
Find all the unknowns and parameters from the equations of a SDESystem or ODESystem. Return re-ordered equations, differential variables, all variables, and parameters.
12061206
"""
12071207
function process_equations(eqs, iv)
1208-
eqs = collect(Iterators.flatten(eqs))
1208+
eltype(eqs) <: Vector && (eqs = vcat(eqs...))
1209+
eqs = collect(eqs)
12091210

12101211
diffvars = OrderedSet()
12111212
allunknowns = OrderedSet()

0 commit comments

Comments
 (0)