Skip to content

Commit

Permalink
Update src/utils.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Isaacson <[email protected]>
  • Loading branch information
ChrisRackauckas and isaacsas authored Oct 13, 2024
1 parent 8380d6b commit d0014f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ recursively searches through all subsystems of `sys`, increasing the depth if it
function collect_scoped_vars!(unknowns, parameters, sys, iv; depth = 1, op = Differential)
if has_eqs(sys)
for eq in get_eqs(sys)
hasfield(eq, :lhs) || continue
eq isa Equation || continue
eq.lhs isa Union{Symbolic, Number} || continue
collect_vars!(unknowns, parameters, eq.lhs, iv; depth, op)
collect_vars!(unknowns, parameters, eq.rhs, iv; depth, op)
Expand Down

0 comments on commit d0014f6

Please sign in to comment.