diff --git a/src/systems/model_parsing.jl b/src/systems/model_parsing.jl index 4a8d73652c..f772abbb00 100644 --- a/src/systems/model_parsing.jl +++ b/src/systems/model_parsing.jl @@ -219,7 +219,7 @@ function generate_var!(dict, a, b, varclass; vd isa Vector && (vd = first(vd)) vd[a] = Dict{Symbol, Any}() var = if indices === nothing - Symbolics.variable(a, T = SymbolicUtils.FnType{Tuple{Real}, Real})(iv) + Symbolics.variable(a, T = SymbolicUtils.FnType{Tuple{Any}, Real})(iv) else vd[a][:size] = Tuple(lastindex.(indices)) first(@variables $a(iv)[indices...])