From 5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Aug 2018 15:04:33 +0200 Subject: Fix working with big Hilbert indices --- chilbert/Algorithm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1