mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 12:35:59 +00:00
resolve bug about not popping local ctx to base level before collecting shared lits
This commit is contained in:
parent
ae64207be6
commit
bba1111e1b
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ namespace smt {
|
|||
|
||||
void parallel::worker::share_units(ast_translation& l2g) {
|
||||
// Collect new units learned locally by this worker and send to batch manager
|
||||
ctx->pop_to_base_lvl();
|
||||
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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue