aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/Hilbert.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert/Hilbert.ipp')
-rw-r--r--chilbert/Hilbert.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chilbert/Hilbert.ipp b/chilbert/Hilbert.ipp
index 92a2f0e..9d23271 100644
--- a/chilbert/Hilbert.ipp
+++ b/chilbert/Hilbert.ipp
@@ -111,7 +111,7 @@ update1(const I& l, const I& t, const I& w, const size_t n, I& e, size_t& d)
}
assert(0 <= d && d < n);
- if (!(w.rack() & 1)) {
+ if (!w.test(0)) {
e.flip(d == 0 ? n - 1 : d - 1); //#D d );
}
}