Skip to content

Commit

Permalink
fix(tensorrt_yolox): fix duplicateBreak warning (autowarefoundation#7698
Browse files Browse the repository at this point in the history
)

Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
  • Loading branch information
veqcc authored Jun 26, 2024
1 parent 8444a9e commit 9cdd150
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion perception/tensorrt_yolox/src/tensorrt_yolox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,6 @@ void TrtYoloX::getColorizedMask(
int height = mask.rows;
if ((cmask.cols != mask.cols) || (cmask.rows != mask.rows)) {
throw std::runtime_error("input and output image have difference size.");
return;
}
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
Expand Down

0 comments on commit 9cdd150

Please sign in to comment.