From 6ea3d0e39f6cb33f39fd88e64fbdbdb040e832e9 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 27 Nov 2022 16:36:54 -0800 Subject: [PATCH] sparse QuadTree_get_supernodes_internal: remove unused 'flag' parameter --- lib/sparse/QuadTree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sparse/QuadTree.c b/lib/sparse/QuadTree.c index 6b322b428..a12a42ba9 100644 --- a/lib/sparse/QuadTree.c +++ b/lib/sparse/QuadTree.c @@ -74,7 +74,7 @@ static void check_or_realloc_arrays(int dim, int *nsuper, int *nsupermax, double } } -static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *point, int nodeid, int *nsuper, int *nsupermax, double **center, double **supernode_wgts, double **distances, double *counts, int *flag){ +static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *point, int nodeid, int *nsuper, int *nsupermax, double **center, double **supernode_wgts, double **distances, double *counts) { SingleLinkedList l; double *coord, dist; int dim, i; @@ -113,7 +113,7 @@ static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *poi } else { for (i = 0; i < 1<qts[i], bh, point, nodeid, nsuper, nsupermax, center, - supernode_wgts, distances, counts, flag); + supernode_wgts, distances, counts); } } } @@ -133,7 +133,7 @@ void QuadTree_get_supernodes(QuadTree qt, double bh, double *point, int nodeid, if (!*center) *center = MALLOC(sizeof(double)*(*nsupermax)*dim); if (!*supernode_wgts) *supernode_wgts = MALLOC(sizeof(double)*(*nsupermax)); if (!*distances) *distances = MALLOC(sizeof(double)*(*nsupermax)); - QuadTree_get_supernodes_internal(qt, bh, point, nodeid, nsuper, nsupermax, center, supernode_wgts, distances, counts, flag); + QuadTree_get_supernodes_internal(qt, bh, point, nodeid, nsuper, nsupermax, center, supernode_wgts, distances, counts); } -- 2.50.1