aboutsummaryrefslogtreecommitdiffstats
path: root/Hilbert/GetBits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Hilbert/GetBits.hpp')
-rw-r--r--Hilbert/GetBits.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hilbert/GetBits.hpp b/Hilbert/GetBits.hpp
index 119ace9..862eae3 100644
--- a/Hilbert/GetBits.hpp
+++ b/Hilbert/GetBits.hpp
@@ -39,7 +39,7 @@ namespace Hilbert
// This is terribly inefficient.
int j;
for ( j = 0; j < n; j++ )
- w.setBit(j,h.getBit(i+j));
+ w.set(j,h.test(i+j));
return;
}