From 47e2931774dc7873a5e2a241695139bb6c77a8a6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 02:13:11 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../autoware_crosswalk_traffic_light_estimator/src/node.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp b/perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp index 6bde8ca880cce..84066e6bf75e2 100644 --- a/perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp +++ b/perception/autoware_crosswalk_traffic_light_estimator/src/node.cpp @@ -319,13 +319,13 @@ void CrosswalkTrafficLightEstimatorNode::setCrosswalkTrafficSignal( } } -bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus(const TrafficSignal & signal) const +bool CrosswalkTrafficLightEstimatorNode::isInvalidDetectionStatus( + const TrafficSignal & signal) const { // check occlusion, backlight(shape is unknown) and no detection(shape is circle) if ( signal.elements.front().color == TrafficSignalElement::UNKNOWN && - signal.elements.front().confidence == 0.0) - { + signal.elements.front().confidence == 0.0) { return true; }