How to convert element type of a container?

Define a StaticArrays.similar_type method for your FieldVector. See Is there a way to seamlessly inherit vector arithmetic on new types? - #9 by tkoolen.

2 Likes