mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 13:23:39 +00:00
make work for variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6450ad82f4
commit
287a536d40
1 changed files with 7 additions and 4 deletions
|
@ -1580,12 +1580,15 @@ namespace polysat {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
y = q.var();
|
y = q.var();
|
||||||
if (!q.lo().is_val())
|
if (!q.hi().is_val() && q.hi().var() == y)
|
||||||
return false;
|
return false;
|
||||||
if (!q.hi().is_val())
|
if (!s.try_eval(q.hi(), a))
|
||||||
return false;
|
return false;
|
||||||
a = round(M, q.hi().val());
|
if (!s.try_eval(q.lo(), b))
|
||||||
b = round(M, q.lo().val());
|
return false;
|
||||||
|
|
||||||
|
a = round(M, a);
|
||||||
|
b = round(M, b);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue