mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
Add search_iterator
This commit is contained in:
parent
8a1a202133
commit
b644fe0f3d
2 changed files with 59 additions and 2 deletions
|
@ -472,9 +472,10 @@ namespace polysat {
|
|||
set_marks(m_conflict);
|
||||
}
|
||||
|
||||
for (unsigned i = m_search.size(); i-- > 0; ) {
|
||||
search_iterator search_it(m_search);
|
||||
while (search_it.next()) {
|
||||
LOG("Conflict: " << m_conflict);
|
||||
auto const& item = m_search[i];
|
||||
auto const& item = *search_it;
|
||||
if (item.is_assignment()) {
|
||||
// Resolve over variable assignment
|
||||
pvar v = item.var();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue