Skip to content

Commit 160242b

Browse files
fix: properly handle array equations during variable discovery in System
1 parent b58fd31 commit 160242b

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
@@ -204,7 +204,7 @@ function System(eqs::Vector{Equation}, iv; kwargs...)
204204
diffeqs = Equation[]
205205
othereqs = Equation[]
206206
for eq in eqs
207-
if !(eq.lhs isa Union{Symbolic, Number})
207+
if !(eq.lhs isa Union{Symbolic, Number, AbstractArray})
208208
push!(othereqs, eq)
209209
continue
210210
end

0 commit comments

Comments
 (0)