mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
fix messup with closing nodes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
189a03c94a
commit
96bb3caa9e
2 changed files with 19 additions and 0 deletions
|
@ -220,6 +220,10 @@ namespace smt {
|
|||
IF_VERBOSE(1, verbose_stream() << "Batch manager splitting on literal: " << mk_bounded_pp(lit, m, 3) << "\n");
|
||||
if (m_state != state::is_running)
|
||||
return;
|
||||
// optional heuristic:
|
||||
// node->get_status() == status::active
|
||||
// and depth is 'high' enough
|
||||
// then ignore split, and instead set the status of node to open.
|
||||
m_search_tree.split(node, lit, nlit);
|
||||
cv.notify_all();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue