Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rakri committed Dec 5, 2024
1 parent 7970aa3 commit 5cdc45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/search_disk_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int search_disk_index(diskann::Metric &metric, const std::string &index_path_pre
dists.data(),
optimized_beamwidth, maxLperSeller, use_reorder_data, stats + i);
} else {
_pFlashIndex->cached_beam_search(query + (i * query_aligned_dim), recall_at, L,
_pFlashIndex->cached_beam_search(query + (i * query_aligned_dim), K_to_use, L,
results.data(),
dists.data(),
optimized_beamwidth, std::numeric_limits<uint32_t>::max(), use_reorder_data, stats + i);
Expand Down

0 comments on commit 5cdc45e

Please sign in to comment.