mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
fix missing dependency, expose inefficiency
This commit is contained in:
parent
c1d5111159
commit
2afc58cc08
4 changed files with 39 additions and 3 deletions
|
@ -111,8 +111,14 @@ namespace polysat {
|
|||
return;
|
||||
LOG("Conflict: " << cl);
|
||||
SASSERT(empty());
|
||||
for (auto lit : cl)
|
||||
insert(~s.lit2cnstr(lit));
|
||||
for (auto lit : cl) {
|
||||
auto c = s.lit2cnstr(lit);
|
||||
if (c.bvalue(s) != l_false) {
|
||||
SASSERT(c.is_currently_false(s));
|
||||
c->set_var_dependent();
|
||||
}
|
||||
insert(~c);
|
||||
}
|
||||
SASSERT(!empty());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue