3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 00:55:31 +00:00

change signed projection to include root object.

This commit is contained in:
Nikolaj Bjorner 2024-03-23 16:14:24 -04:00
parent 80642e5a7c
commit c18a42cf5b
2 changed files with 14 additions and 3 deletions

View file

@ -480,8 +480,10 @@ namespace qe {
num_scopes = 2*(level()/2);
}
else {
SASSERT(clevel.max() + 2 <= level());
num_scopes = level() - clevel.max();
if (clevel.max() + 2 <= level())
num_scopes = level() - clevel.max();
else
num_scopes = 2; // the projection contains auxiliary variables from root objects.
SASSERT(num_scopes >= 2);
}