Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Apr 25, 2022
1 parent 489459a commit 0a665b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sat/smt/q_ematch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,14 +640,13 @@ namespace q {
bool ematch::propagate(bool flush) {
m_mam->propagate();
bool propagated = flush_prop_queue();
if (!flush && m_qhead >= m_clause_queue.size())
return m_inst_queue.propagate() || propagated;

if (flush) {
for (auto* c : m_clauses)
propagate(*c, flush, propagated);
}
else {
if (m_qhead >= m_clause_queue.size())
return m_inst_queue.propagate() || propagated;
ctx.push(value_trail<unsigned>(m_qhead));
for (; m_qhead < m_clause_queue.size() && m.inc(); ++m_qhead) {
unsigned idx = m_clause_queue[m_qhead];
Expand Down

0 comments on commit 0a665b0

Please sign in to comment.