Skip to content

Commit

Permalink
fixup! fix: fix vars!
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Feb 20, 2024
1 parent d7265c1 commit 1275d6e
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 @@ -360,7 +360,7 @@ function vars!(vars, O; op = Differential)
if operation(O) === (getindex)
arr = first(arguments(O))
istree(arr) && operation(arr) isa op && return push!(vars, O)
isvariable(arr) && return push!(vars, O)
isvariable(arr) && return push!(vars, O)

Check warning on line 363 in src/utils.jl

View check run for this annotation

Codecov / codecov/patch

src/utils.jl#L360-L363

Added lines #L360 - L363 were not covered by tests
end

isvariable(operation(O)) && push!(vars, O)
Expand Down

0 comments on commit 1275d6e

Please sign in to comment.