Skip to content

Commit

Permalink
fix(autoware_bytetrack): fix clang-diagnostic-implicit-const-int-floa…
Browse files Browse the repository at this point in the history
…t-conversion (#9468)

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Dec 1, 2024
1 parent 3cbca65 commit ce49bfc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions perception/autoware_bytetrack/lib/include/byte_tracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#include "strack.h"

#include <limits>
#include <vector>

struct ByteTrackObject
Expand Down Expand Up @@ -83,8 +84,8 @@ class ByteTracker

double lapjv(
const std::vector<std::vector<float>> & cost, std::vector<int> & rowsol,
std::vector<int> & colsol, bool extend_cost = false, float cost_limit = LONG_MAX,
bool return_cost = true);
std::vector<int> & colsol, bool extend_cost = false,
float cost_limit = std::numeric_limits<float>::max(), bool return_cost = true);

private:
float track_thresh;
Expand Down

0 comments on commit ce49bfc

Please sign in to comment.