Skip to content

Commit

Permalink
Update blockmax_maxscore_iterator.cppm (#1166)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

seperate -> separate

### Type of change

- [x] Refactoring
  • Loading branch information
eltociear authored and JinHai-CN committed May 10, 2024
1 parent d02e7c0 commit 093ae71
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private:
float common_block_max_bm25_score_ = 0.0f;
Vector<float> common_block_max_bm25_score_parts_; // value at i: blockmax of sum of BM25 scores for iter i + 1, i + 2, ..., n - 1
// pivot and must_have info
// seperate the iterators into two parts:
// separate the iterators into two parts:
// 1. [0, pivot) : cannot add into part 2
// 2. [pivot, n) : sum < threshold
u32 pivot_ = sorted_iterators_.size();
Expand All @@ -90,4 +90,4 @@ private:
Vector<Pair<u32, u64>> must_have_history_;
};

} // namespace infinity
} // namespace infinity

0 comments on commit 093ae71

Please sign in to comment.