Skip to content

Commit c7133d1

Browse files
no indices if not symbols
1 parent 5a9d457 commit c7133d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/solutions/solution_interface.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ end
162162
cleansyms(syms::Nothing) = nothing
163163
cleansyms(syms::Tuple) = collect(cleansym(sym) for sym in syms)
164164
cleansyms(syms::Vector{Symbol}) = cleansym.(syms)
165+
cleansyms(syms::LinearIndices) = nothing
166+
cleansyms(syms::CartesianIndices) = nothing
167+
165168
function cleansym(sym::Symbol)
166169
str = String(sym)
167170
# MTK generated names

0 commit comments

Comments
 (0)