diff --git a/plugins/match.hpp b/plugins/match.hpp index 88454eeb9..74e0c8491 100644 --- a/plugins/match.hpp +++ b/plugins/match.hpp @@ -232,7 +232,7 @@ template class MapMatchingPlugin : public BasePlugin // enforce maximum number of locations for performance reasons if (max_locations_map_matching > 0 && - static_cast(input_coords.size()) > max_locations_map_matching) + static_cast(input_coords.size()) < max_locations_map_matching) { return 400; }