3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-05 22:06:03 +00:00

remove incorrect assertions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-06 17:40:30 -08:00
parent 200f47369d
commit ff6b3304f8
3 changed files with 16 additions and 8 deletions

View file

@ -1922,7 +1922,6 @@ public:
theory_var v1 = mk_var(p);
lp::impq r1 = get_ivalue(v1);
SASSERT(r1.y.is_zero());
SASSERT(r1.x.is_int());
rational r2;
if (!r1.x.is_int() || r1.x.is_neg()) {
@ -1942,7 +1941,6 @@ public:
}
lp::impq val_v = get_ivalue(v);
SASSERT(val_v.y.is_zero());
SASSERT(val_v.x.is_int());
if (val_v.x == div(r1.x, r2)) continue;
TRACE("arith", tout << get_value(v) << " != " << r1 << " div " << r2 << "\n";);