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:
parent
dfbccf6cc3
commit
4d939c07a3
1 changed files with 5 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue