aboutsummaryrefslogtreecommitdiffstats
path: root/Hilbert/Algorithm.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-04 23:13:50 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 20:01:14 +0200
commitc5ad5673a76ba969edadfb3d5cfd5a2516b6fdcd (patch)
treef2b8b625910601479ac48d3315d36e5299ad6d8a /Hilbert/Algorithm.hpp
parentacb6aae319ba56bc52bf6209c343a3f46c624ad8 (diff)
downloadchilbert-c5ad5673a76ba969edadfb3d5cfd5a2516b6fdcd.tar.gz
chilbert-c5ad5673a76ba969edadfb3d5cfd5a2516b6fdcd.tar.bz2
chilbert-c5ad5673a76ba969edadfb3d5cfd5a2516b6fdcd.zip
Simplify bit operations and support integral points
Diffstat (limited to 'Hilbert/Algorithm.hpp')
-rw-r--r--Hilbert/Algorithm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hilbert/Algorithm.hpp b/Hilbert/Algorithm.hpp
index c79f700..85640fa 100644
--- a/Hilbert/Algorithm.hpp
+++ b/Hilbert/Algorithm.hpp
@@ -237,7 +237,7 @@ namespace Hilbert
d = D0;
l.reset();
for ( j = 0; j < n; j++ )
- p[j].reset();
+ p[j] = 0;
ho = m*n;