3
0
Fork 0
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:
Nikolaj Bjorner 2025-10-11 21:27:58 -07:00 committed by GitHub
parent e95162b054
commit 287825366f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);