From 768b63f9f6b198f4d1a56e463d4ef9313423c561 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 12 Jan 2022 20:18:21 -0800 Subject: [PATCH] lib/mingle/edge_bundling.cpp: replace 'MIN' with 'std::min' Gitlab: #2154 --- lib/mingle/edge_bundling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mingle/edge_bundling.cpp b/lib/mingle/edge_bundling.cpp index ccd8eee77..2f4b8d027 100644 --- a/lib/mingle/edge_bundling.cpp +++ b/lib/mingle/edge_bundling.cpp @@ -167,7 +167,7 @@ static double edge_compatibility_full(pedge e1, pedge e2){ assert(ca > -0.001); /* scale compatibility */ - cs = 2 / (std::max(len1, len2) / len + len / MIN(len1, len2)); + cs = 2 / (std::max(len1, len2) / len + len / std::min(len1, len2)); assert(cs > -0.001 && cs < 1.001); /* position compatibility */ -- 2.40.0