Skip to content

Commit

Permalink
Uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
roncapat committed Apr 16, 2024
1 parent 7e17c77 commit 3c31cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NavMsgOccupancyGrid_CvMat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void rclcpp::TypeAdapter<StampedOccupancyGrid_CV,
destination.data.resize(source.mat.rows * source.mat.cols);
for (int y = 0; y < source.mat.rows; ++y) {
for (int x = 0; x < source.mat.cols; ++x) {
destination.data[y * source.mat.cols + x] =
destination.data[y * source.mat.cols + x] =
static_cast<int8_t>(source.mat.at<uint8_t>(y, x) - 1);
}
}
Expand Down

0 comments on commit 3c31cda

Please sign in to comment.