3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-03 13:07:53 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-09-17 15:42:35 -07:00
parent 99ff13b651
commit c6e0a62cb9
4 changed files with 200 additions and 48 deletions

View file

@ -91,7 +91,7 @@ public:
void set(rational const& r, unsigned hi, unsigned lo);
void set(tbv const& other, unsigned hi, unsigned lo);
unsigned operator[](unsigned idx) { return get(idx); }
unsigned operator[](unsigned idx) const { return get(idx); }
void set(unsigned index, unsigned value) {
SASSERT(value <= 3);
fixed_bit_vector::set(2*index, (value & 2) != 0);