From: Matthew Fernandez Date: Wed, 15 Dec 2021 15:37:24 +0000 (-0800) Subject: constrained_majorization_new_with_gaps: [nfc] boolean → C99 bool X-Git-Tag: 3.0.0~124^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e65d8245925b2b26886bcacf9b9f570c998206b;p=graphviz constrained_majorization_new_with_gaps: [nfc] boolean → C99 bool --- diff --git a/lib/neatogen/quad_prog_solve.c b/lib/neatogen/quad_prog_solve.c index f869dae3d..2617ee19c 100644 --- a/lib/neatogen/quad_prog_solve.c +++ b/lib/neatogen/quad_prog_solve.c @@ -580,7 +580,7 @@ constrained_majorization_new_with_gaps(CMajEnv * e, float *b, int *levels = e->levels; int num_levels = e->num_levels; float new_place_i; - boolean converged = FALSE; + bool converged = false; float upper_bound, lower_bound; int node; int left, right; @@ -640,7 +640,7 @@ constrained_majorization_new_with_gaps(CMajEnv * e, float *b, gap = e->fArray4; for (counter = 0; counter < max_iterations && !converged; counter++) { - converged = TRUE; + converged = true; lower_bound = -1e9; /* no lower bound for first level */ for (left = 0; left < n; left = right) { int best_i;