diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | include/chilbert/detail/MultiBitVec.hpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index de1d754..f9bed5d 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -28,7 +28,6 @@ Checks: > -hicpp-explicit-conversions, -llvm-header-guard, -llvmlibc-*, - -modernize-use-bool-literals, -modernize-use-trailing-return-type, -readability-avoid-const-params-in-decls, -readability-convert-member-functions-to-static, diff --git a/include/chilbert/detail/MultiBitVec.hpp b/include/chilbert/detail/MultiBitVec.hpp index 2896c7c..ca48a94 100644 --- a/include/chilbert/detail/MultiBitVec.hpp +++ b/include/chilbert/detail/MultiBitVec.hpp @@ -370,7 +370,7 @@ gray_code_inv(MultiBitVec<Derived>& value) using Rack = typename MultiBitVec<Derived>::Rack; constexpr std::array<Rack, 2> masks{Rack{0}, ~Rack{0}}; - bool s = 0; + bool s = false; for (size_t ri = 0; ri < value.num_racks(); ++ri) { const size_t i = value.num_racks() - ri - 1; |