Skip to content

Commit 557e20d

Browse files
committed
fix check
1 parent 9cd326b commit 557e20d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,9 @@ function collect_scoped_vars!(unknowns, parameters, sys, iv; depth = 1, op = Dif
493493
if has_eqs(sys)
494494
for eq in get_eqs(sys)
495495
eqtype_supports_collect_vars(eq) || continue
496-
(eq isa Equation && eq.lhs isa Union{Symbolic, Number}) || continue
496+
if eq isa Equation
497+
eq.lhs isa Union{Symbolic, Number} || continue
498+
end
497499
collect_vars!(unknowns, parameters, eq, iv; depth, op)
498500
end
499501
end

0 commit comments

Comments
 (0)