3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

fixed bug in range computation

This commit is contained in:
Ken McMillan 2013-06-27 11:28:38 -07:00
parent dfbccf6cc3
commit 4d939c07a3

View file

@ -98,8 +98,13 @@ class scopes {
}
void range_add(int i, range &n){
#if 0
if(i < n.lo) n.lo = i;
if(i > n.hi) n.hi = i;
#else
range rng; rng.lo = i; rng.hi = i;
n = range_lub(rng,n);
#endif
}
/** Choose an element of rng1 that is near to rng2 */