Skip to content

Commit

Permalink
pre-commit style
Browse files Browse the repository at this point in the history
Signed-off-by: min.tian <min.tian.cn@gmail.com>
  • Loading branch information
alwayslove2013 committed Sep 27, 2024
1 parent 5ae0e8f commit 413395e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index/diskann/diskann.cc
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ DiskANNIndexNode<DataType>::AnnIterator(const DataSetPtr dataset, std::unique_pt
for (int i = 0; i < nq; i++) {
futs.emplace_back(search_pool_->push([&, id = i]() {
auto single_query = (DataType*)xq + id * dim;
auto it = std::make_shared<iterator>(transform, single_query, lsearch, beamwidth, use_reorder_data, filter_ratio,
for_tuning, bitset, pq_flash_index_.get());
auto it = std::make_shared<iterator>(transform, single_query, lsearch, beamwidth, use_reorder_data,
filter_ratio, for_tuning, bitset, pq_flash_index_.get());
it->initialize();
vec[id] = it;
}));
Expand Down

0 comments on commit 413395e

Please sign in to comment.