diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | include/chilbert/chilbert.ipp | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 1164717..c48319c 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,7 +2,6 @@ Checks: > *, -*-avoid-c-arrays, -*-magic-numbers, - -*-move-const-arg, -*-named-parameter, -*-no-malloc, -*-non-private-member-variables-in-classes, diff --git a/include/chilbert/chilbert.ipp b/include/chilbert/chilbert.ipp index f333630..84626fc 100644 --- a/include/chilbert/chilbert.ipp +++ b/include/chilbert/chilbert.ipp @@ -484,9 +484,8 @@ compact_index_to_coords(P& p, if (n <= SmallBitVec::bits_per_rack) { // Intermediate variables will fit in fixed width - SmallBitVec scratch(n); detail::compact_index_to_coords<P, HC, SmallBitVec>( - p, ms, n, hc, std::move(scratch), M, m); + p, ms, n, hc, SmallBitVec{n}, M, m); } else { // Otherwise, they must be DynamicBitVecs DynamicBitVec scratch(n); |