Skip to content

Commit

Permalink
Merge branch 'branch-23.10' into enh-select-k-radix-handle-infinities
Browse files Browse the repository at this point in the history
  • Loading branch information
achirkin authored Sep 18, 2023
2 parents 87551e7 + b9cf917 commit 67e8d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/test/matrix/select_k.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ struct SelectK // NOLINT
auto forgive_i = forgive_algo(ref.algo, i);
auto forgive_j = forgive_algo(res.algo, j);
// Some algorithms return invalid indices in special cases.
// This can be considered as TODO for us to fix.
// TODO: https://github.com/rapidsai/raft/issues/1822
if (static_cast<size_t>(ix_i) >= in_ids.size()) return forgive_i;
if (static_cast<size_t>(ix_j) >= in_ids.size()) return forgive_j;
auto dist_i = in_dists[ix_i];
Expand Down

0 comments on commit 67e8d5a

Please sign in to comment.