Skip to content

Commit 06f7429

Browse files
Make sure last position is properly evaluated in Prefilter
1 parent 54f8983 commit 06f7429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prefiltering/CacheFriendlyOperations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ size_t CacheFriendlyOperations<BINSIZE>::findDuplicates(IndexEntryLocal **input,
4040
do {
4141
setupBinPointer();
4242
CounterResult *lastPosition = (binDataFrame + BINCOUNT * binSize) - 1;
43-
for (unsigned int i = indexFrom; i < indexTo; ++i) {
43+
for (unsigned int i = indexFrom; i <= indexTo; ++i) {
4444
const size_t N = input[i + 1] - input[i];
4545
hashIndexEntry(i, input[i], N, lastPosition);
4646
}

0 commit comments

Comments
 (0)