Skip to content

Commit 004e3ae

Browse files
Pull out R.of_elt
1 parent 8af2e49 commit 004e3ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/domain/disjointDomain.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,10 @@ module ProjectiveSetPairwiseMeet (E: Lattice.S) (B: MayEqualSetDomain with type
190190
let meet m1 m2 =
191191
let meet_buckets b1 b2 acc =
192192
B.fold (fun e1 acc ->
193+
let r1 = R.of_elt e1 in
193194
B.fold (fun e2 acc ->
194195
(* If they have the same representative, we use the normal meet within this bucket *)
195-
if R.equal (R.of_elt e1) (R.of_elt e2) then
196+
if R.equal r1 (R.of_elt e2) then
196197
try
197198
let m = E.meet e1 e2 in
198199
if not (E.is_bot m) then

0 commit comments

Comments
 (0)