Why does SMatrix allocate in this case?

The SMatrix type is abstract, you’re missing the last type parameter that is the total length. Try this instead SMatrix{DimensionsPlus, DimensionsPlus, FloatType, DimensionsPlus*DimensionsPlus}

2 Likes