diff options
Diffstat (limited to 'include/chilbert/chilbert.ipp')
-rw-r--r-- | include/chilbert/chilbert.ipp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/chilbert/chilbert.ipp b/include/chilbert/chilbert.ipp index cdb0755..bb178bc 100644 --- a/include/chilbert/chilbert.ipp +++ b/include/chilbert/chilbert.ipp @@ -147,7 +147,7 @@ update1(const I& l, const I& t, const I& w, const size_t n, I& e, size_t& d) { assert(d < n); e = l; - e.flip(d); //#D d == n-1 ? 0 : d+1 ); + e.flip(d); // Update direction d += 1 + t.find_first(); @@ -160,7 +160,7 @@ update1(const I& l, const I& t, const I& w, const size_t n, I& e, size_t& d) assert(d < n); if (!w.test(0)) { - e.flip(d == 0 ? n - 1 : d - 1); //#D d ); + e.flip(d == 0 ? n - 1 : d - 1); } } @@ -171,7 +171,7 @@ update2(const I& l, const I& t, const size_t n, I& e, size_t& d) { assert(d < n); e = l; - e.flip(d); //#D d == n-1 ? 0 : d+1 ); + e.flip(d); // Update direction d += 1 + t.find_first(); |