Skip to content

Commit

Permalink
fix: input arrays are not always sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
novoj committed Dec 12, 2024
1 parent cce8cf9 commit 6fbe1f5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ static RoaringBitmap fromArray(int... array) {
final RoaringBitmapWriter<RoaringBitmap> writer = RoaringBitmapWriter
.writer()
.constantMemory()
.expectedRange(array[0], array[array.length - 1])
.runCompress(false)
.get();
writer.addMany(array);
Expand Down

0 comments on commit 6fbe1f5

Please sign in to comment.