From 5cdc45e4b683b37a0669b8d744d9093aa50aba06 Mon Sep 17 00:00:00 2001 From: rakri Date: Thu, 5 Dec 2024 08:43:31 -0800 Subject: [PATCH] minor bug fix --- apps/search_disk_index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/search_disk_index.cpp b/apps/search_disk_index.cpp index 3c96a98c5..a35f64a53 100644 --- a/apps/search_disk_index.cpp +++ b/apps/search_disk_index.cpp @@ -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::max(), use_reorder_data, stats + i);