diff --git a/perception/autoware_bytetrack/lib/include/byte_tracker.h b/perception/autoware_bytetrack/lib/include/byte_tracker.h index 60328c5acfd62..736ed6d311043 100644 --- a/perception/autoware_bytetrack/lib/include/byte_tracker.h +++ b/perception/autoware_bytetrack/lib/include/byte_tracker.h @@ -40,6 +40,7 @@ #include "strack.h" +#include #include struct ByteTrackObject @@ -83,8 +84,8 @@ class ByteTracker double lapjv( const std::vector> & cost, std::vector & rowsol, - std::vector & colsol, bool extend_cost = false, float cost_limit = LONG_MAX, - bool return_cost = true); + std::vector & colsol, bool extend_cost = false, + float cost_limit = std::numeric_limits::max(), bool return_cost = true); private: float track_thresh;