2D static array

I have an issue regarding StaticArray dimensionality when using DifferentialEquations.jl.
If I solve a matrix equation using 3x3 StaticArrays, my solver returns a 3x3 array.
Will that create a problem in the solve function? Or does solve expect a flattened array? Thanks.

It will throw an error saying that you should return a static array if u0 is a static array.

No, higher dimensional arrays are pretty standard.

1 Like