Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove magic numbers from organized_segmentation_demo app #3108

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix unsigned-signed comparison
  • Loading branch information
Andrea Ponza committed May 28, 2019
commit 4616cb7570e6c3d624b9199315d7acb31950b053
2 changes: 1 addition & 1 deletion apps/src/organized_segmentation_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ OrganizedSegmentationDemo::cloud_cb (const CloudConstPtr& cloud)

for (const auto &euclidean_label_index : euclidean_label_indices)
{
if (euclidean_label_index.indices.size () > 1000)
if (euclidean_label_index.indices.size () > 1000u)
{
pcl::PointCloud<PointT> cluster;
pcl::copyPointCloud (*cloud, euclidean_label_index.indices,cluster);
Expand Down