Skip to content

Commit 0a7901c

Browse files
author
byronhe
committed
fix mutualPartitioningIntersect
1 parent 7ef0239 commit 0a7901c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/intersection.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ size_t mutualPartitioningIntersect(const uint32_t* small_set, size_t small_lengt
112112
if (it == large_set + large_length) {
113113
return out_num;
114114
}
115+
result += out_num;
115116
if (*it == mid_val) {
116117
*result++ = mid_val;
117118
++it;

0 commit comments

Comments
 (0)