aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_gray_code_rank.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_gray_code_rank.cpp b/test/test_gray_code_rank.cpp
index 05f1ae1..3b6f9bb 100644
--- a/test/test_gray_code_rank.cpp
+++ b/test/test_gray_code_rank.cpp
@@ -38,7 +38,7 @@ T
get_mask(const std::array<size_t, D>& ms, const size_t d, const size_t step)
{
T mask = make_zero_bitvec<T, D>();
- size_t b;
+ size_t b = 0U;
chilbert::detail::extract_mask(ms.data(), D, d, step, mask, b);
assert(b == mask.count());