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