From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: neatogen scan_graph_mode: swap 'MAX' call for standard 'fmax' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73b7d2d11ca7d89387641029d0b42beadd332d65;p=graphviz neatogen scan_graph_mode: swap 'MAX' call for standard 'fmax' --- 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;