mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 05:00:51 +00:00
avoid units
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2af713e4db
commit
d7b82366c6
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ namespace sls {
|
||||||
sat::literal l = to_literal(p);
|
sat::literal l = to_literal(p);
|
||||||
SASSERT(ctx.is_true(l));
|
SASSERT(ctx.is_true(l));
|
||||||
lits.push_back(~l);
|
lits.push_back(~l);
|
||||||
|
if (ctx.is_unit(l))
|
||||||
|
continue;
|
||||||
if (ctx.rand(++n) == 0)
|
if (ctx.rand(++n) == 0)
|
||||||
flit = l;
|
flit = l;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue