mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 05:13:39 +00:00
fix test for non-val node
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
235c465ae2
commit
827374952b
1 changed files with 1 additions and 1 deletions
|
@ -1591,7 +1591,7 @@ namespace polysat {
|
||||||
if (y == null_var) {
|
if (y == null_var) {
|
||||||
// choose the top variable
|
// choose the top variable
|
||||||
y = q.var();
|
y = q.var();
|
||||||
if (q.hi().is_var() && q.hi().var() == y)
|
if (!q.hi().is_val() && q.hi().var() == y)
|
||||||
return false;
|
return false;
|
||||||
if (!eval_round(M, q.hi(), a))
|
if (!eval_round(M, q.hi(), a))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue