mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +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);
|
||||
SASSERT(ctx.is_true(l));
|
||||
lits.push_back(~l);
|
||||
if (ctx.is_unit(l))
|
||||
continue;
|
||||
if (ctx.rand(++n) == 0)
|
||||
flit = l;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue