]> granicus.if.org Git - graphviz/commitdiff
abbreviate some arithmetic
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Apr 2021 02:40:03 +0000 (19:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Apr 2021 19:51:10 +0000 (12:51 -0700)
lib/mingle/edge_bundling.c

index 75c68ab020560f050bc8771078b7058efa842cf9..f10f43fca9d7bff680e010d5b55ffa4a9671f409 100644 (file)
@@ -741,7 +741,7 @@ pedge* edge_bundling(SparseMatrix A0, int dim, real *x, int maxit_outer, real K,
       for (i = 0; i < ne; i++){
        edges[i] = pedge_double(edges[i]);
       }
-      step0 = step0/2;
+      step0 /= 2;
       edges = force_directed_edge_bundling(B, edges, maxit, step0, K, open_gl);
     }