diff options
Diffstat (limited to 'include/chilbert/chilbert.ipp')
-rw-r--r-- | include/chilbert/chilbert.ipp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |