3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 00:55:31 +00:00

add hack for testing conflict resolution (but commented out)

This commit is contained in:
Jakob Rath 2021-09-14 14:49:56 +02:00
parent a8e68ebf86
commit c4e098b5d4

View file

@ -79,9 +79,11 @@ namespace polysat {
LOG("Conflict: " << c);
SASSERT(empty());
insert(c);
for (auto v : c->vars())
for (auto v : c->vars()) {
if (s().is_assigned(v))
m_vars.insert(v);
// inc_pref(v); // hack to be able to test the rest of the conflict resolution loop, TODO: proper fix
}
SASSERT(!empty());
}