From 73b7d2d11ca7d89387641029d0b42beadd332d65 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 7 Sep 2022 17:27:49 -0700 Subject: [PATCH] neatogen scan_graph_mode: swap 'MAX' call for standard 'fmax' --- lib/neatogen/stuff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index bb25513ef..aaa7ff8f8 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -11,6 +11,7 @@ #include "config.h" #include +#include #include #include #include @@ -277,7 +278,7 @@ int scan_graph_mode(graph_t * G, int mode) str = agget(G, "defaultdist"); if (str && str[0]) - Initial_dist = MAX(Epsilon, atof(str)); + Initial_dist = fmax(Epsilon, atof(str)); else Initial_dist = total_len / (nE > 0 ? nE : 1) * sqrt(nV) + 1; -- 2.50.1