}
}
-static void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, real *norm_1){
+static void country_graph_coloring_internal(int seed, SparseMatrix A, int **p){
int n = A->m, i, j, jj;
SparseMatrix L, A2;
int *ia = A->ia, *ja = A->ja;
}
get_12_norm(n, ia, ja, *p, norm1);
- *norm_1 = norm1[0];
if (A2 != A) SparseMatrix_delete(A2);
SparseMatrix_delete(L);
}
void country_graph_coloring(int seed, SparseMatrix A, int **p){
- real norm_1;
- country_graph_coloring_internal(seed, A, p, &norm_1);
+ country_graph_coloring_internal(seed, A, p);
}