mirror of
https://github.com/Z3Prover/z3
synced 2025-10-21 06:40:31 +00:00
Refactor close_with_core to use current node in lambda
This commit is contained in:
parent
e95162b054
commit
287825366f
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ namespace search_tree {
|
|||
if (!n || n->get_status() == status::closed)
|
||||
return;
|
||||
node<Config> *p = n->parent();
|
||||
if (p && any_of(C, [](auto const& l) {
|
||||
if (p && any_of(C, [n](auto const& l) {
|
||||
return l == n->get_literal(); }
|
||||
})) {
|
||||
close_with_core(p, C);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue