diff --git a/src/solutions/solution_interface.jl b/src/solutions/solution_interface.jl index 90d84665f..cbf2b2ad4 100644 --- a/src/solutions/solution_interface.jl +++ b/src/solutions/solution_interface.jl @@ -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