Open
Description
The @mtkmodel
macro appears to assume that all equations are scalars:
ERROR: MethodError: Cannot `convert` an object of type Vector{Equation} to an object of type Equation
...
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/oIgbi/src/systems/model_parsing.jl:25 [inlined]
would it be possible to let the macro instead use vcat
so that a statement inside the @equations
block would work no matter whether it results in a scalar or a vector?