diff options
-rw-r--r-- | Hilbert/Algorithm.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Hilbert/Algorithm.hpp b/Hilbert/Algorithm.hpp index bcc3b55..b22fc5e 100644 --- a/Hilbert/Algorithm.hpp +++ b/Hilbert/Algorithm.hpp @@ -162,10 +162,6 @@ namespace Hilbert l.reset(); h.reset(); - int r, b; - BBV_MODSPLIT(r,b,n-1); - FBV_UINT bm = (1<<b); - // Work from MSB to LSB for ( i = m-1; i >= 0; i-- ) { @@ -182,7 +178,7 @@ namespace Hilbert w = t; if ( i < m-1 ) - w.racks()[r] ^= bm; + w.toggle(n - 1); // Concatenate to the index. ho -= n; |