Skip to content

Commit

Permalink
Merge pull request #304 from RoaringBitmap/dlemire/issue_303
Browse files Browse the repository at this point in the history
Minimal fix for 303.
  • Loading branch information
lemire committed May 6, 2021
2 parents ebb1519 + fffc8fe commit 8316baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func ParOr(parallelism int, bitmaps ...*Bitmap) *Bitmap {
return bitmaps[0]
}

keyRange := hKey - lKey + 1
keyRange := int(hKey) - int(lKey) + 1
if keyRange == 1 {
// revert to FastOr. Since the key range is 0
// no container-level aggregation parallelism is achievable
Expand Down

0 comments on commit 8316baf

Please sign in to comment.