From c559e1c97ac64f7cb3bb8cbc4b50762f8edc2e32 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 19 Dec 2023 17:29:47 +0530 Subject: [PATCH] fix: add cleansyms method to hotfix plotting --- src/symbolic_utils.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/symbolic_utils.jl b/src/symbolic_utils.jl index 0cbbc6813..9057717e1 100644 --- a/src/symbolic_utils.jl +++ b/src/symbolic_utils.jl @@ -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)) cleansyms(syms::Vector{Symbol}) = cleansym.(syms) cleansyms(syms::LinearIndices) = nothing cleansyms(syms::CartesianIndices) = nothing