]> granicus.if.org Git - graphviz/commitdiff
remove some commented out code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 05:23:48 +0000 (22:23 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:57 +0000 (13:31 -0700)
lib/neatogen/info.c
lib/neatogen/neatoinit.c

index ec508bb1bb6288862702b152abdcc81ae7916fc1..6fa9f095975ace9968221f31d38fc8cdd859ab8a 100644 (file)
@@ -148,9 +148,4 @@ void addVertex(Site * s, double x, double y)
     p->p.y = y;
     prev->next = p;
     p->next = curr;
-
-    /* This test should be unnecessary */
-    /* if (!sorted(origin,ip->verts))  */
-    /* error (ip,s,x,y); */
-
 }
index c7e182175aeae6de3f8d4668a4d2b7b6a0d120fa..1f8e89cc4b19a238e34ceae50ce0e62f6bf0c29d 100644 (file)
@@ -208,7 +208,6 @@ static cluster_data* cluster_map(graph_t *mastergraph, graph_t *g)
             *cn = agnnodes(subg);
             cdata->nvars += *cn;
             c = *cs++ = N_GNEW(*cn++,int);
-            /* fprintf(stderr,"Cluster with %d nodes...\n",agnnodes(subg)); */
             for (n = agfstnode(subg); n; n = agnxtnode(subg, n)) {
                 node_t *gn;
                 int ind = 0;
@@ -216,7 +215,6 @@ static cluster_data* cluster_map(graph_t *mastergraph, graph_t *g)
                     if(AGSEQ(gn)==AGSEQ(n)) break;
                     ind++;
                 }
-                /* fprintf(stderr,"  node=%s, id=%d, ind=%d\n",agnameof(n),n->id,ind); */
                 *c++=ind;
                 assigned[ind]=TRUE;
                 cdata->ntoplevel--;
@@ -1150,7 +1148,6 @@ majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int
        fprintf(stderr, "convert graph: ");
        start_timer();
         fprintf(stderr, "majorization\n");
-//     fprintf(stderr, "%i\n", count_nodes(g));
     }
     gp = makeGraphData(g, nv, &ne, mode, model, &nodes);