Skip to content

Commit 532827b

Browse files
committed
Fix DefExc.equal_to with Excluded
1 parent d6859f3 commit 532827b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdomains/intDomain.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ struct
13281328
let equal_to i = function
13291329
| `Bot -> failwith "unsupported: equal_to with bottom"
13301330
| `Definite x -> if i = x then `Eq else `Neq
1331-
| `Excluded (s,r) -> if S.mem i s then `Top else `Neq
1331+
| `Excluded (s,r) -> if S.mem i s then `Neq else `Top
13321332

13331333
let top_of ik = `Excluded (S.empty (), size ik)
13341334
let top_if_not_in_int64 ik f x = try f x with Size.Not_in_int64 -> top_of ik

0 commit comments

Comments
 (0)