From 928c3c839279231c43ab6234d775bc48fea45ebc Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 28 Mar 2021 21:55:40 -0700 Subject: [PATCH] swap an unnecessary MAX call for fmax --- lib/twopigen/circle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/twopigen/circle.c b/lib/twopigen/circle.c index 747e00a09..cfd809f1b 100644 --- a/lib/twopigen/circle.c +++ b/lib/twopigen/circle.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -289,7 +290,7 @@ getRankseps (Agraph_t* g, uint64_t maxrank) if ((p = late_string(g, agfindgraphattr(g->root, "ranksep"), NULL))) { while (rk <= maxrank && (d = strtod (p, &endp)) > 0) { - delx = MAX(d, MIN_RANKSEP); + delx = fmax(d, MIN_RANKSEP); xf += delx; ranks[rk++] = xf; p = endp; -- 2.40.0