]> granicus.if.org Git - graphviz/commitdiff
neatogen stress_majorization_cola: remove unused 'nedges_graph' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Jul 2022 00:05:50 +0000 (17:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 4 Aug 2022 01:08:59 +0000 (18:08 -0700)
lib/neatogen/constrained_majorization_ipsep.c
lib/neatogen/digcola.h
lib/neatogen/neatoinit.c

index 34b1292e6ed52bd0534491d7d5aeb296e45edc23..2de870c849970dae19bbaa2ef5c60c8e882ecdfe 100644 (file)
@@ -54,7 +54,6 @@
 
 int stress_majorization_cola(vtx_data * graph, /* Input graph in sparse representation  */
                             int n,     /* Number of nodes */
-                            int nedges_graph,  /* Number of edges */
                             double **d_coords, /* Coordinates of nodes (output layout)  */
                             node_t ** nodes,   /* Original nodes */
                             int dim,   /* Dimemsionality of layout */
index cec6d2e83cc98b1c9c3c3288126aea272221f8c6..42a3c7f469474985a88cc736771d2e5895869afe 100644 (file)
@@ -40,7 +40,7 @@ typedef struct ipsep_options {
 } ipsep_options;
 
  /* stress majorization, for Constraint Layout */
-extern int stress_majorization_cola(vtx_data*, int, int, double**, node_t**, int, int, int, ipsep_options*);
+extern int stress_majorization_cola(vtx_data*, int, double**, node_t**, int, int, int, ipsep_options*);
 #endif
 #endif
 
index d23c41227403fcd35928c722a8b5292ab1831bb0..1bb2f95bc92035aad4496055a9a2dc1c99415c4b 100644 (file)
@@ -1232,7 +1232,7 @@ majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, adj
            fprintf (stderr, "\n");
            dumpOpts (&opt, nv);
 #endif
-            rv = stress_majorization_cola(gp, nv, ne, coords, nodes, Ndim, model, MaxIter, &opt);
+            rv = stress_majorization_cola(gp, nv, coords, nodes, Ndim, model, MaxIter, &opt);
            freeClusterData(cs);
            free (nsize);
         }