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
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.