aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/GrayCodeRank.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-18 17:40:30 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:47:01 +0200
commitfaa5c52caaa74761dd5e0078b5472da202e955ec (patch)
treef2971ec6ae00a3a5355f4616cbbe0a62a64fe3f2 /chilbert/GrayCodeRank.hpp
parentad4f4edefc5da702e9efa4ec7b40830e91abb6cf (diff)
downloadchilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.tar.gz
chilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.tar.bz2
chilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.zip
Remove problematic conversion operators
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;