mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
bypass replaying new clause within propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3b90816025
commit
3cec3fc63d
|
@ -345,6 +345,9 @@ void theory_user_propagator::propagate_consequence(prop_info const& prop) {
|
|||
for (auto lit : m_lits)
|
||||
clause.push_back(ctx.literal2expr(lit));
|
||||
m_clauses_to_replay.push_back(clause);
|
||||
if (m_replay_qhead + 1 < m_clauses_to_replay.size())
|
||||
std::swap(m_clauses_to_replay[m_replay_qhead], m_clauses_to_replay[m_clauses_to_replay.size()-1]);
|
||||
++m_replay_qhead;
|
||||
}
|
||||
else {
|
||||
ctx.mk_th_lemma(get_id(), m_lits);
|
||||
|
|
Loading…
Reference in a new issue