Skip to content

Commit

Permalink
fix: use the passed in io_limit (#403)
Browse files Browse the repository at this point in the history
* fix: use the passed in io_limit

* fix to be clang-formatted
  • Loading branch information
ltan1ms authored Jul 26, 2023
1 parent 0488c03 commit e1a8d78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pq_flash_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ void PQFlashIndex<T, LabelT>::cached_beam_search(const T *query1, const uint64_t
QueryStats *stats)
{
LabelT dummy_filter = 0;
cached_beam_search(query1, k_search, l_search, indices, distances, beam_width, false, dummy_filter,
std::numeric_limits<uint32_t>::max(), use_reorder_data, stats);
cached_beam_search(query1, k_search, l_search, indices, distances, beam_width, false, dummy_filter, io_limit,
use_reorder_data, stats);
}

template <typename T, typename LabelT>
Expand Down

0 comments on commit e1a8d78

Please sign in to comment.