3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-09-14 17:10:53 -07:00
parent 50d76a2fe3
commit b87a91379c

View file

@ -311,11 +311,12 @@ namespace euf {
return p == i; return p == i;
}; };
// retrieve oldest parent of i whose sign is false // retrieve oldest parent of i within the same alternation of and
unsigned pi = i; unsigned pi = i;
auto [_s, _depth, _f, _p] = todo[i];
while (pi != 0) { while (pi != 0) {
auto [s, depth, f, p] = todo[pi]; auto [s, depth, f, p] = todo[pi];
if (s) if (depth != _depth)
break; break;
pi = p; pi = p;
} }