Fix call to std::min

This commit is contained in:
Kerrick Staley 2016-11-16 00:35:23 -08:00 committed by Patrick Niklaus
parent 15359befdc
commit 8bb183bc8c

View File

@ -23,7 +23,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);
return std::min(gps_radius * 3.5 + 45, 200.0);
}
namespace osrm