From: Matthew Fernandez Date: Tue, 6 Dec 2022 05:39:11 +0000 (-0800) Subject: neatogen computeScale: swap 'MIN' for stdlib equivalent X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc74954fff7b1993585c4a02005581374e28d4d3;p=graphviz neatogen computeScale: swap 'MIN' for stdlib equivalent --- diff --git a/lib/neatogen/constraint.c b/lib/neatogen/constraint.c index a01076124..45f3de0c6 100644 --- a/lib/neatogen/constraint.c +++ b/lib/neatogen/constraint.c @@ -778,7 +778,7 @@ static double computeScale(pointf *aarr, size_t m) { aarr++; for (size_t i = 1; i < m; i++) { p = *aarr++; - v = MIN(p.x, p.y); + v = fmin(p.x, p.y); if (v > sc) sc = v; }