Skip to content

Commit

Permalink
no indices if not symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jan 27, 2021
1 parent 5a9d457 commit c7133d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/solutions/solution_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ end
cleansyms(syms::Nothing) = nothing
cleansyms(syms::Tuple) = collect(cleansym(sym) for sym in syms)
cleansyms(syms::Vector{Symbol}) = cleansym.(syms)
cleansyms(syms::LinearIndices) = nothing
cleansyms(syms::CartesianIndices) = nothing

function cleansym(sym::Symbol)
str = String(sym)
# MTK generated names
Expand Down

0 comments on commit c7133d1

Please sign in to comment.