]> granicus.if.org Git - graphviz/commitdiff
remove initialization of int with a double
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 20 May 2021 03:48:08 +0000 (20:48 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 27 May 2021 02:37:14 +0000 (19:37 -0700)
It is unclear what this was attempting to achieve.

cmd/gvmap/country_graph_coloring.c

index bb3f1e69c1742ef5b055ea91b2dc363a9529219f..30e257758151ba4714bb73f047f35dd74aaeb75f 100644 (file)
@@ -271,7 +271,7 @@ static void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, r
   int n = A->m, i, j, jj;
   SparseMatrix L, A2;
   int *ia = A->ia, *ja = A->ja;
-  int a = -1.;
+  int a = -1;
   real nrow;
   real *v = NULL;
   real norm1[3];