File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/cdomain/value/cdomains Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1393,8 +1393,9 @@ struct
13931393 let min_ys = minimal ys |> Option. get in
13941394 let max_ys = maximal ys |> Option. get in
13951395 let min_range,max_range = range ik in
1396- let min = if min_xs =. min_range then min_ys else min_xs in
1397- let max = if max_xs =. max_range then max_ys else max_xs in
1396+ let threshold = get_interval_threshold_widening () in
1397+ let min = if min_xs =. min_range || threshold && min_ys < . min_xs && IArith. is_lower_threshold min_xs then min_ys else min_xs in
1398+ let max = if max_xs =. max_range || threshold && max_ys < . max_xs && IArith. is_upper_threshold max_xs then max_ys else max_xs in
13981399 xs
13991400 |> (function (_ , y )::z -> (min, y)::z | _ -> [] )
14001401 |> List. rev
You can’t perform that action at this time.
0 commit comments