diff options
author | David Robillard <d@drobilla.net> | 2018-08-18 17:40:30 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:47:01 +0200 |
commit | faa5c52caaa74761dd5e0078b5472da202e955ec (patch) | |
tree | f2971ec6ae00a3a5355f4616cbbe0a62a64fe3f2 /chilbert/Hilbert.ipp | |
parent | ad4f4edefc5da702e9efa4ec7b40830e91abb6cf (diff) | |
download | chilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.tar.gz chilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.tar.bz2 chilbert-faa5c52caaa74761dd5e0078b5472da202e955ec.zip |
Remove problematic conversion operators
Diffstat (limited to 'chilbert/Hilbert.ipp')
-rw-r--r-- | chilbert/Hilbert.ipp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/Hilbert.ipp b/chilbert/Hilbert.ipp index 4cf5fec..523bfec 100644 --- a/chilbert/Hilbert.ipp +++ b/chilbert/Hilbert.ipp @@ -152,7 +152,7 @@ _coordsToIndex(const P* const p, // Initialize e.reset(); l.reset(); - h.reset(); + resetBits(h); // Work from MSB to LSB size_t d = D0; @@ -226,7 +226,7 @@ _indexToCoords(P* p, const size_t m, const size_t n, const H& h, I&& scratch) e.reset(); l.reset(); for (size_t j = 0; j < n; j++) { - p[j] = 0U; + resetBits(p[j]); } // Work from MSB to LSB |