diff --git a/include/matx/operators/base_operator.h b/include/matx/operators/base_operator.h index 533d6868..8517dbc1 100644 --- a/include/matx/operators/base_operator.h +++ b/include/matx/operators/base_operator.h @@ -173,8 +173,7 @@ namespace matx __MATX_INLINE__ __MATX_HOST__ __MATX_DEVICE__ auto Shape() const { if constexpr (T::Rank() == 0) { - std::array sizes_{1}; - return sizes_; + return std::array {}; } else { std::array sizes_;