diff --git a/btas/tensor_traits.h b/btas/tensor_traits.h index fdd96bad..b4d81cfc 100644 --- a/btas/tensor_traits.h +++ b/btas/tensor_traits.h @@ -83,15 +83,8 @@ class is_boxtensor { /// checks _Tensor meets the TWG.BoxTensor concept requirements template -class boxtensor_storage_order { -public: - enum {row_major = boxrange_iteration_order::row_major, - other = boxrange_iteration_order::other, - column_major = boxrange_iteration_order::column_major - }; - static constexpr const int - value = boxrange_iteration_order::value; -}; +class boxtensor_storage_order : public boxrange_iteration_order {}; + } // namespace btas