Fix inverted operator in maximum check
This commit is contained in:
parent
7829e3c132
commit
736bc87480
@ -232,7 +232,7 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
|||||||
|
|
||||||
// enforce maximum number of locations for performance reasons
|
// enforce maximum number of locations for performance reasons
|
||||||
if (max_locations_map_matching > 0 &&
|
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;
|
return 400;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user