diff --git a/btas/range.h b/btas/range.h index 960b9a8f..9fa01385 100644 --- a/btas/range.h +++ b/btas/range.h @@ -137,7 +137,7 @@ namespace btas { /// \return The rank (number of dimensions) of this range /// \throw nothing - size_t rank() const { + constexpr size_t rank() const { return 1ul; }