Closed sharanry closed 2 years ago
Calling with StaticArrays
is sufficient to make the function call type stable.
Yes, or a tuple should work too.
Converting from a generic Array
to an SVector
cannot be type-stable because the length is not part of the type.
Related: https://github.com/SciML/Integrals.jl/issues/65