3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 06:45:45 +00:00

bail out on failure to properly project

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-12-11 04:23:07 +01:00
parent 32c63ce4cd
commit 20790c46ee
5 changed files with 19 additions and 25 deletions

View file

@ -909,6 +909,7 @@ namespace qe {
num_scopes = 2;
}
else {
if (level.max() + 2 > m_level) return false;
SASSERT(level.max() + 2 <= m_level);
num_scopes = m_level - level.max();
SASSERT(num_scopes >= 2);