diff --git a/src/engine/plugins/match.cpp b/src/engine/plugins/match.cpp index 39b311419..67a1f2c90 100644 --- a/src/engine/plugins/match.cpp +++ b/src/engine/plugins/match.cpp @@ -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