We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03638a8 commit 3f3c5c2Copy full SHA for 3f3c5c2
Data/HashMap/Internal.hs
@@ -2354,10 +2354,8 @@ disjointSubtrees s a@(Collision hA _) (BitmapIndexed bmB aryB)
2354
m = mask hA s
2355
i = sparseIndex bmB m
2356
disjointSubtrees s a@(Collision hA _) (Full aryB) =
2357
- case A.index# aryB i of
2358
- (# stB #) -> disjointSubtrees (nextShift s) a stB
2359
- where
2360
- i = index hA s
+ case A.index# aryB (index hA s) of
+ (# stB #) -> disjointSubtrees (nextShift s) a stB
2361
disjointSubtrees _ (Collision hA aryA) (Collision hB aryB) =
2362
disjointCollisions hA aryA hB aryB
2363
disjointSubtrees _s _a Empty = True
0 commit comments