}
}
-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;
} else {
for (i = 0; i < 1<<dim; i++){
QuadTree_get_supernodes_internal(qt->qts[i], bh, point, nodeid, nsuper, nsupermax, center,
- supernode_wgts, distances, counts, flag);
+ supernode_wgts, distances, counts);
}
}
}
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);
}