aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-18 15:04:33 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:46:42 +0200
commit5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34 (patch)
treebd1590aec82a26d7f8b41e3ada659a91753affd9 /chilbert
parentf083394e8491d29096fa12404f06ee34ea0c4b34 (diff)
downloadchilbert-5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34.tar.gz
chilbert-5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34.tar.bz2
chilbert-5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34.zip
Fix working with big Hilbert indices
Diffstat (limited to 'chilbert')
-rw-r--r--chilbert/Algorithm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chilbert/Algorithm.hpp b/chilbert/Algorithm.hpp
index 7d40f2d..e5072b0 100644
--- a/chilbert/Algorithm.hpp
+++ b/chilbert/Algorithm.hpp
@@ -131,7 +131,7 @@ _coordsToIndex(const P* const p,
// Initialize
e.reset();
l.reset();
- h = 0U;
+ h.reset();
// Work from MSB to LSB
size_t d = D0;