mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
tidy a bit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
47b2113260
commit
25863d4682
2 changed files with 33 additions and 19 deletions
|
@ -356,7 +356,9 @@ namespace polysat {
|
|||
auto q = sc.to_ule().rhs();
|
||||
auto l = pdd2expr(p);
|
||||
auto h = pdd2expr(q);
|
||||
if (q.is_zero())
|
||||
if (p == q)
|
||||
result = m.mk_true();
|
||||
else if (q.is_zero())
|
||||
result = m.mk_eq(l, h);
|
||||
else
|
||||
result = bv.mk_ule(l, h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue