]> granicus.if.org Git - graphviz/commitdiff
generateNonoverlapConstraints: [nfc] use a C99 bool instead of boolean
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Dec 2021 16:34:29 +0000 (08:34 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Dec 2021 18:33:22 +0000 (10:33 -0800)
lib/neatogen/quad_prog_vpsc.c

index f9fb1c733164d4a4efc00b0c16de8dd63ac304d2..bdac4fab6aa69a0d5dfbf8b0e2f7e18ade725a6b 100644 (file)
@@ -382,7 +382,7 @@ void generateNonoverlapConstraints(CMajEnvVPSC * e,
     int i, j, mol = 0;
     int n = e->nv + e->nldv;
     boxf* bb = N_GNEW (n, boxf);
-    boolean genclusters = opt->clusters->nclusters > 0;
+    bool genclusters = opt->clusters->nclusters > 0;
     if (genclusters) {
        /* n is the number of real variables, not dummy cluster vars */
        n -= 2 * opt->clusters->nclusters;