Skip to content

Commit

Permalink
fix(autoware_object_merger): fix passedByValue (autowarefoundation#8232)
Browse files Browse the repository at this point in the history
fix:passedByValue

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
kobayu858 authored Jul 29, 2024
1 parent 99eb65b commit f9519dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ bool isUnknownObjectOverlapped(
const autoware_perception_msgs::msg::DetectedObject & unknown_object,
const autoware_perception_msgs::msg::DetectedObject & known_object,
const double precision_threshold, const double recall_threshold,
std::map<int, double> distance_threshold_map,
const std::map<int, double> generalized_iou_threshold_map)
const std::map<int, double> & distance_threshold_map,
const std::map<int, double> & generalized_iou_threshold_map)
{
const double generalized_iou_threshold = generalized_iou_threshold_map.at(
object_recognition_utils::getHighestProbLabel(known_object.classification));
Expand Down

0 comments on commit f9519dd

Please sign in to comment.