Skip to content

Commit

Permalink
Fix double definition error in ANN refinement header (#1067)
Browse files Browse the repository at this point in the history
Authors:
  - Tamas Bela Feher (https://github.com/tfeher)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #1067
  • Loading branch information
tfeher authored Dec 5, 2022
1 parent bee127a commit bb888f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/neighbors/detail/refine.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ typedef struct {
float distance;
} struct_for_refinement;

int _postprocessing_qsort_compare(const void* v1, const void* v2)
inline int _postprocessing_qsort_compare(const void* v1, const void* v2)
{
// sort in ascending order
if (((struct_for_refinement*)v1)->distance > ((struct_for_refinement*)v2)->distance) {
Expand Down

0 comments on commit bb888f4

Please sign in to comment.