Skip to content

Commit

Permalink
fix: add cleansyms method to hotfix plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Dec 19, 2023
1 parent 7465a4f commit c559e1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/symbolic_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ end

cleansyms(syms::Nothing) = nothing
cleansyms(syms::Tuple) = collect(cleansym(sym) for sym in syms)
cleansyms(syms::Vector) = cleansyms(Symbol.(syms))

Check warning on line 75 in src/symbolic_utils.jl

View check run for this annotation

Codecov / codecov/patch

src/symbolic_utils.jl#L75

Added line #L75 was not covered by tests
cleansyms(syms::Vector{Symbol}) = cleansym.(syms)
cleansyms(syms::LinearIndices) = nothing
cleansyms(syms::CartesianIndices) = nothing
Expand Down

0 comments on commit c559e1c

Please sign in to comment.