Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Nov 4, 2024
1 parent 7ad6f84 commit 01b374b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rapids_singlecell/preprocessing/_kernels/_bbknn.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
// Process each element in the row
int min_index = 0;
for (int idx = start; idx < end; ++idx) {
if (data[idx] < top_k[min_index]) continue;
if (data[idx] <= top_k[min_index]) continue;
// If current num is larger than the smallest in top_k, replace it
// If current value is larger than the smallest in top_k, replace it
top_k[min_index] = data[idx];
// Find the new smallest value in top_k and set min_index
Expand Down

0 comments on commit 01b374b

Please sign in to comment.