Why is accessing an SMatrix from a struct allocating?

This is an abstract type. The full concrete type is matrix::SMatrix{3,3,Float64,9}.

See also many previous discussions, such as SMatrix{2, 2, Float64} is not a concrete type? and Computing Inverse of a stack of matrices - #19 by tchr

3 Likes