From 2b7dd9b0b101f957a5f4787857a78df8c6031bf4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Aug 2018 19:20:55 +0200 Subject: Make bit vector interfaces more like std::bitset --- Hilbert/SetLocation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Hilbert/SetLocation.hpp') 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. -- cgit v1.2.1