From 736bc87480309ddf3cd20b534d1c6d0243607b35 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sat, 7 Mar 2015 23:02:14 +0100 Subject: [PATCH] Fix inverted operator in maximum check --- plugins/match.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }