Renamed function

This commit is contained in:
Andrew Murray 2021-04-02 21:05:33 +11:00
parent 6764650e2a
commit a69430047b

View File

@ -759,7 +759,7 @@ typedef struct {
} DistanceWithIndex;
static int
_sort_ulong_ptr_keys(const void *a, const void *b) {
_distance_index_cmp(const void *a, const void *b) {
DistanceWithIndex *A = (DistanceWithIndex *)a;
DistanceWithIndex *B = (DistanceWithIndex *)b;
if (*A->distance == *B->distance) {
@ -829,7 +829,7 @@ build_distance_tables(
dwi,
nEntries,
sizeof(DistanceWithIndex),
_sort_ulong_ptr_keys);
_distance_index_cmp);
for (j = 0; j < nEntries; j++) {
avgDistSortKey[i * nEntries + j] = dwi[j].distance;
}