Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Sep 4, 2024
1 parent f8f2b90 commit 455508e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ function read_equations_options(options, variables_declared)

# Check if the defualt differential is used. If so, declare it and its variable.
lhs = eq.args[2]
(lhs isa Symbol) || (lhs isa Number) && continue
((lhs isa Symbol) || (lhs isa Number)) && continue

diff_vars = Vector{Symbol}()
if uses_default_differential!(lhs, diff_vars)
Expand Down

0 comments on commit 455508e

Please sign in to comment.