aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/GrayCodeRank.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert/GrayCodeRank.hpp')
-rw-r--r--chilbert/GrayCodeRank.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chilbert/GrayCodeRank.hpp b/chilbert/GrayCodeRank.hpp
index 7bbfa69..60e644a 100644
--- a/chilbert/GrayCodeRank.hpp
+++ b/chilbert/GrayCodeRank.hpp
@@ -46,7 +46,7 @@ compactIndex(const size_t* const ms,
H& h,
HC& hc)
{
- hc = 0;
+ resetBits(hc);
size_t hi = 0;
size_t hci = 0;