aboutsummaryrefslogtreecommitdiffstats
path: root/Hilbert/SetLocation.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-04 19:20:55 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 20:01:09 +0200
commit2b7dd9b0b101f957a5f4787857a78df8c6031bf4 (patch)
tree48402ad9e2eb40efce77fef4f92b76e355d809d3 /Hilbert/SetLocation.hpp
parente0cab1aa093bfc9e15bd4c47e69328d9a46b2f15 (diff)
downloadchilbert-2b7dd9b0b101f957a5f4787857a78df8c6031bf4.tar.gz
chilbert-2b7dd9b0b101f957a5f4787857a78df8c6031bf4.tar.bz2
chilbert-2b7dd9b0b101f957a5f4787857a78df8c6031bf4.zip
Make bit vector interfaces more like std::bitset
Diffstat (limited to 'Hilbert/SetLocation.hpp')
-rw-r--r--Hilbert/SetLocation.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hilbert/SetLocation.hpp b/Hilbert/SetLocation.hpp
index d7b5099..d3f6130 100644
--- a/Hilbert/SetLocation.hpp
+++ b/Hilbert/SetLocation.hpp
@@ -39,7 +39,7 @@ namespace Hilbert
// Easy to understand implementation
/*int j;
for ( j = 0; j < n; j++ )
- p[j].setBit(i,l.getBit(j));
+ p[j].set(i,l.test(j));
return;*/
// Much faster loop-unrolled implementation.