Skip to content

Commit 49f0a40

Browse files
fix: properly handle array equations during variable discovery in System
1 parent 42063ec commit 49f0a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function System(eqs::Vector{Equation}, iv; kwargs...)
206206
diffeqs = Equation[]
207207
othereqs = Equation[]
208208
for eq in eqs
209-
if !(eq.lhs isa Union{Symbolic, Number})
209+
if !(eq.lhs isa Union{Symbolic, Number, AbstractArray})
210210
push!(othereqs, eq)
211211
continue
212212
end

0 commit comments

Comments
 (0)