agxbfree(&sbuff);
}
-static void get_tri(int n, int dim, real *x, int *nt, struct Triangle **T, SparseMatrix *E, int *flag) {
+static void get_tri(int n, int dim, real *x, int *nt, struct Triangle **T, SparseMatrix *E) {
/* always contains a self edge and is symmetric.
input:
n: number of points
SparseMatrix A, B;
int* trilist = get_triangles(x, n, &ntri);
- *flag = 0;
-
*T = N_NEW(ntri,struct Triangle);
}
}
- get_tri(n + *nrandom, dim2, *xcombined, &nt, &Tp, &E, flag);
+ get_tri(n + *nrandom, dim2, *xcombined, &nt, &Tp, &E);
get_polygons(exclude_random, n, *nrandom, dim2, graph, grouping, nt, Tp, E, nverts, x_poly, npolys, poly_lines, polys, polys_groups,
poly_point_map, country_graph, flag);