From c7133d1052f6011485a20ba30aa2fa7d1f02909b Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Tue, 26 Jan 2021 23:52:22 -0500 Subject: [PATCH] no indices if not symbols --- src/solutions/solution_interface.jl | 3 +++ 1 file changed, 3 insertions(+) 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