Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Nov 9, 2023
1 parent a68d7a7 commit 41ac27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/include/raft/neighbors/ivf_pq_helpers.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -660,9 +660,9 @@ void set_centers(raft::resources const& res,
template <typename IdxT>
auto get_list_size_in_bytes(const index<IdxT>& index, uint32_t label) -> uint32_t
{
RAFT_EXPECTS(label < index->n_lists(),
RAFT_EXPECTS(label < index.n_lists(),
"Expected label to be less than number of lists in the index");
auto list_data = index->lists()[label]->data;
auto list_data = index.lists()[label]->data;
return list_data.size();
}

Expand Down

0 comments on commit 41ac27f

Please sign in to comment.