}
static void get_polygons(int exclude_random, int n, int nrandom, int dim, SparseMatrix graph, int *grouping,
int nt, struct Triangle *Tp, SparseMatrix E, int *nverts, real **x_poly,
- int *npolys, SparseMatrix *poly_lines, SparseMatrix *polys, int **polys_groups, SparseMatrix *poly_point_map, SparseMatrix *country_graph,
- int *flag){
+ int *npolys, SparseMatrix *poly_lines, SparseMatrix *polys, int **polys_groups, SparseMatrix *poly_point_map, SparseMatrix *country_graph){
int i, j;
int *mask;
int *groups;
int GRP_RANDOM, GRP_BBOX;
SparseMatrix B;
- *flag = 0;
-
assert(dim == 2);
*nverts = nt;
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);
+ poly_point_map, country_graph);
SparseMatrix_delete(E);
FREE(Tp);