Skip to content

Commit 9e6f948

Browse files
Fix incorrect increment in insertion
Only for single-threaded insertions in the Bloom Filter
1 parent f3d1f6c commit 9e6f948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BlockedBloomFilter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ bool BlockedBloomFilter::insert_unpar(const uint64_t kmh, const uint64_t minh) {
13991399
else i = j;
14001400
}
14011401

1402-
minh1 = minh_s2 + minh_s2;
1402+
minh1 += minh_s2 + minh_s2;
14031403

14041404
++nb_overflow;
14051405
}

0 commit comments

Comments
 (0)