StaticArrays field values printed as undef?

Base.length should always return the number of elements in an array, breaking this assumption for your own AbstractArray type is expected to cause problems. It looks like you just want norm from LinearAlgebra here?

1 Like