From c5e3fa916f704638bd0c6a6b8a64329125a8fb1f Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 20 Dec 2016 23:26:25 +0000 Subject: [PATCH] Revert "Fix call to std::min" This reverts commit 8bb183bc8cb2b69cdf861745580951ae3385e068. --- src/engine/plugins/match.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/plugins/match.cpp b/src/engine/plugins/match.cpp index aa23b4a87..3da0da0ce 100644 --- a/src/engine/plugins/match.cpp +++ b/src/engine/plugins/match.cpp @@ -24,7 +24,7 @@ static double search_radius_for_gps_radius(double gps_radius) // For a given GPS radius, determine the radius we need to search for candidate street segments // to have a 99.9% chance of finding the correct segment. // For more detail, see the analysis at https://github.com/Project-OSRM/osrm-backend/pull/3184 - return std::min(gps_radius * 3.5 + 45, 200.0); + return std::min(gps_radius * 3.5 + 45, 200); } namespace osrm