[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #85 from peiliping/transform
Browse files Browse the repository at this point in the history
u
  • Loading branch information
peiliping authored Jul 26, 2017
2 parents 9ab99c7 + 89ed0db commit 07f1e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/meepo/storage/Roaring64BitMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static Roaring64BitMap andNot(Roaring64BitMap r1, Roaring64BitMap r2) {
result.core.put(key, r1.core.get(key).clone());
Set<Long> crossKeys = new HashSet<>();
crossKeys.addAll(r1.core.keySet());
crossKeys.removeAll(r2.core.keySet());
crossKeys.retainAll(r2.core.keySet());
for (Long key : crossKeys) {
RoaringBitmap t = RoaringBitmap.andNot(r1.core.get(key), r2.core.get(key));
if (t.getCardinality() > 0)
Expand Down

0 comments on commit 07f1e74

Please sign in to comment.