Fix inverted operator in maximum check

This commit is contained in:
Patrick Niklaus 2015-03-07 23:02:14 +01:00
parent 7829e3c132
commit 736bc87480

View File

@ -232,7 +232,7 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
// enforce maximum number of locations for performance reasons
if (max_locations_map_matching > 0 &&
static_cast<int>(input_coords.size()) > max_locations_map_matching)
static_cast<int>(input_coords.size()) < max_locations_map_matching)
{
return 400;
}