From c2a8d3a8abb5c81474a107e88182c6be7bb6211f Mon Sep 17 00:00:00 2001 From: Julien Bigot Date: Thu, 30 Mar 2023 15:45:07 +0200 Subject: [PATCH] fix --- include/ddc/discrete_domain.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ddc/discrete_domain.hpp b/include/ddc/discrete_domain.hpp index 0a1280934..de6569d95 100644 --- a/include/ddc/discrete_domain.hpp +++ b/include/ddc/discrete_domain.hpp @@ -38,7 +38,7 @@ class DiscreteDomain public: static constexpr std::size_t rank() { - return (0 + ... + DDims::rank()); + return sizeof...(DDims); } DiscreteDomain() = default;