Skip to content

Commit

Permalink
Make sure last position is properly evaluated in Prefilter
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger committed Oct 31, 2024
1 parent 54f8983 commit 06f7429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefiltering/CacheFriendlyOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ size_t CacheFriendlyOperations<BINSIZE>::findDuplicates(IndexEntryLocal **input,
do {
setupBinPointer();
CounterResult *lastPosition = (binDataFrame + BINCOUNT * binSize) - 1;
for (unsigned int i = indexFrom; i < indexTo; ++i) {
for (unsigned int i = indexFrom; i <= indexTo; ++i) {
const size_t N = input[i + 1] - input[i];
hashIndexEntry(i, input[i], N, lastPosition);
}
Expand Down

0 comments on commit 06f7429

Please sign in to comment.