3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00

Update search_iterator

This commit is contained in:
Jakob Rath 2021-09-12 16:23:54 +02:00
parent 4933505cba
commit 6db8672f75
2 changed files with 30 additions and 22 deletions

View file

@ -475,10 +475,10 @@ namespace polysat {
while (search_it.next()) {
LOG("Conflict: " << m_conflict);
auto const& item = *search_it;
LOG_H2("Working on " << item);
if (item.is_assignment()) {
// Resolve over variable assignment
pvar v = item.var();
LOG_H2("Working on pvar v" << v);
if (!is_marked(v))
continue;
justification& j = m_justification[v];
@ -498,7 +498,6 @@ namespace polysat {
// Resolve over boolean literal
SASSERT(item.is_boolean());
sat::literal const lit = item.lit();
LOG_H2("Working on blit " << lit);
sat::bool_var const var = lit.var();
if (!m_bvars.is_marked(var))
continue;