Skip to content

Commit

Permalink
Fix new distance
Browse files Browse the repository at this point in the history
  • Loading branch information
enp1s0 committed Nov 23, 2024
1 parent 3d35cdc commit ed10ed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ RAFT_DEVICE_INLINE_FUNCTION void move_invalid_to_end_of_list(IdxT* const index_a
}
if (lane_id == 0) {
index_array[array_length - 1] = invalid_index;
distance_array[array_length - 1] = -1;
distance_array[array_length - 1] = utils::get_max_value<float>();
}
}

Expand Down

0 comments on commit ed10ed2

Please sign in to comment.