Skip to content

Commit

Permalink
Fix incorrect increment in insertion
Browse files Browse the repository at this point in the history
Only for single-threaded insertions in the Bloom Filter
  • Loading branch information
GuillaumeHolley authored Apr 27, 2022
1 parent f3d1f6c commit 9e6f948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockedBloomFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ bool BlockedBloomFilter::insert_unpar(const uint64_t kmh, const uint64_t minh) {
else i = j;
}

minh1 = minh_s2 + minh_s2;
minh1 += minh_s2 + minh_s2;

++nb_overflow;
}
Expand Down

0 comments on commit 9e6f948

Please sign in to comment.