mirror of
https://github.com/Z3Prover/z3
synced 2026-04-25 21:33:33 +00:00
warnings
This commit is contained in:
parent
f47fbdd714
commit
91a9feb5a8
4 changed files with 6 additions and 5 deletions
|
|
@ -38,13 +38,14 @@ namespace polysat {
|
|||
if (l_false == operator()(idx))
|
||||
return l_false;
|
||||
}
|
||||
// found conflict but no applicable saturation -> give up
|
||||
if (has_conflict)
|
||||
return l_undef;
|
||||
return l_true;
|
||||
}
|
||||
|
||||
lbool saturation::operator()(constraint_id idx) {
|
||||
auto sc = c.get_constraint(idx);
|
||||
// auto sc = c.get_constraint(idx);
|
||||
auto vars = c.find_conflict_variables(idx);
|
||||
for (auto v : vars)
|
||||
if (resolve(v, idx))
|
||||
|
|
@ -95,7 +96,7 @@ namespace polysat {
|
|||
}
|
||||
else
|
||||
UNREACHABLE();
|
||||
}
|
||||
}
|
||||
c.add_axiom(name, lemma.begin(), lemma.end(), is_redundant);
|
||||
SASSERT(c.inconsistent());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue