3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 09:28:45 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-07-27 08:46:20 -07:00
parent d3e1d250a7
commit 6558999cef
5 changed files with 11 additions and 13 deletions

View file

@ -317,9 +317,7 @@ static void tst_power(unsigned prec = 2) {
ENSURE(m.eq(a, b));
// checking special support for powers of 2
#ifdef Z3DEBUG
unsigned k;
#endif
m.set(a, 1);
ENSURE(m.is_power_of_two(a, k) && k == 0);
m.set(a, 2);