mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +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;
|
||||
}
|
||||
y = q.var();
|
||||
if (!q.lo().is_val())
|
||||
if (!q.hi().is_val() && q.hi().var() == y)
|
||||
return false;
|
||||
if (!q.hi().is_val())
|
||||
if (!s.try_eval(q.hi(), a))
|
||||
return false;
|
||||
a = round(M, q.hi().val());
|
||||
b = round(M, q.lo().val());
|
||||
if (!s.try_eval(q.lo(), b))
|
||||
return false;
|
||||
|
||||
a = round(M, a);
|
||||
b = round(M, b);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue