diff options
-rw-r--r-- | chilbert/BigBitVec.hpp | 4 | ||||
-rw-r--r-- | chilbert/Hilbert.ipp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/chilbert/BigBitVec.hpp b/chilbert/BigBitVec.hpp index e7eeeee..977fabb 100644 --- a/chilbert/BigBitVec.hpp +++ b/chilbert/BigBitVec.hpp @@ -382,10 +382,6 @@ public: return *this; } - /// Return the first rack - Rack& rack() { return m_pcRacks[0]; } - Rack rack() const { return m_pcRacks[0]; } - /// Return a pointer to the racks Rack* racks() { return m_pcRacks.get(); } const Rack* racks() const { return m_pcRacks.get(); } 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 ); } } |