]> granicus.if.org Git - graphviz/commitdiff
remove commented out code in country_graph_coloring.c
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 20 May 2021 03:34:56 +0000 (20:34 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 27 May 2021 02:37:14 +0000 (19:37 -0700)
cmd/gvmap/country_graph_coloring.c

index c2a00b252e3dedf47554da7e4eab90ab175338d3..09e35e935c8c0759aa398ed312fca206ae8f94d0 100644 (file)
@@ -16,8 +16,6 @@
 #include <sfdpgen/PriorityQueue.h>
 #include <time.h>
 
-/* int Verbose = FALSE; */
-
 static void get_local_12_norm(int n, int i, int *ia, int *ja, int *p, real *norm){
   int j, nz = 0;
   norm[0] = n; norm[1] = 0;
@@ -245,8 +243,6 @@ void improve_antibandwidth_by_swapping(SparseMatrix A, int *p){
        get_local_12_norm(n, i, ia, ja, p, norm11);
        get_local_12_norm(n, j, ia, ja, p, norm22);
        if (MIN(norm11[0],norm22[0]) > MIN(norm1[0],norm2[0])){
-         //        ||
-         //(MIN(norm11[0],norm22[0]) == MIN(norm1[0],norm2[0]) && norm11[1]+norm22[1] > norm1[1]+norm2[1])) {
          improved = TRUE;
          norm1[0] = norm11[0];
          norm1[1] = norm11[1];