diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | test/test_gray_code_rank.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index f9bed5d..0c487a6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -13,7 +13,6 @@ Checks: > -altera-*, -bugprone-easily-swappable-parameters, -cert-oop54-cpp, - -cppcoreguidelines-init-variables, -cppcoreguidelines-owning-memory, -cppcoreguidelines-pro-bounds-constant-array-index, -cppcoreguidelines-pro-bounds-pointer-arithmetic, 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()); |