3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-30 15:59:52 +00:00

dont collect clauses twice

This commit is contained in:
Ilana Shapiro 2025-12-20 09:36:30 -08:00
parent e11bf4b9b1
commit c36cb2f516

View file

@ -236,7 +236,6 @@ namespace smt {
// Collect new units learned locally by this worker and send to batch manager
ctx->pop_to_base_lvl();
collect_shared_clauses(); // collect shared clauses from other workers while we're ALREADY POPPED TO BASE LEVEL
unsigned sz = ctx->assigned_literals().size();
for (unsigned j = m_num_shared_units; j < sz; ++j) { // iterate only over new literals since last sync
literal lit = ctx->assigned_literals()[j];