3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-26 01:14:36 +00:00

Fix is_infty_level to treat 2^16-1 as infinity

This commit is contained in:
Arie Gurfinkel 2018-09-04 21:48:07 -04:00
parent 5d2f682f7a
commit f67346d16e
2 changed files with 3 additions and 1 deletions

View file

@ -48,7 +48,8 @@ namespace spacer {
}
inline bool is_infty_level(unsigned lvl) {
return lvl == infty_level ();
// XXX: level is 16 bits in class pob
return lvl >= 65535;
}
inline unsigned next_level(unsigned lvl) {