From: Matthew Fernandez Date: Mon, 26 Dec 2022 21:49:58 +0000 (-0800) Subject: sparse QuadTree_get_nearest_internal: fix comment typo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cb9ce375d464d4e1a41f3c62a8f8043db63d9ea;p=graphviz sparse QuadTree_get_nearest_internal: fix comment typo The use of “years” in this comment does not make sense to me, so the comment still seems faulty, but this is at least an improvement. --- diff --git a/lib/sparse/QuadTree.c b/lib/sparse/QuadTree.c index 1c5b16019..d63a82f5f 100644 --- a/lib/sparse/QuadTree.c +++ b/lib/sparse/QuadTree.c @@ -658,7 +658,7 @@ void QuadTree_print(FILE *fp, QuadTree q){ static void QuadTree_get_nearest_internal(QuadTree qt, double *x, double *y, double *min, int *imin, int tentative){ - /* get the narest point years to {x[0], ..., x[dim]} and store in y.*/ + /* get the nearest point years to {x[0], ..., x[dim]} and store in y.*/ SingleLinkedList l; double *coord, dist; int dim, i, iq = -1;