Skip to content

Commit

Permalink
Addressing another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Oct 9, 2020
1 parent 1d69a42 commit e9d8645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octree/include/pcl/octree/octree_pointcloud_changedetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ class OctreePointCloudChangeDetector
*/
std::size_t
getPointIndicesFromNewVoxels(Indices& indicesVector_arg,
const index_t minPointsPerLeaf_arg = 0)
const uindex_t minPointsPerLeaf_arg = 0)
{

std::vector<OctreeContainerPointIndices*> leaf_containers;
this->serializeNewLeafs(leaf_containers);

for (const auto& leaf_container : leaf_containers) {
if (static_cast<index_t>(leaf_container->getSize()) >= minPointsPerLeaf_arg)
if (static_cast<uindex_t>(leaf_container->getSize()) >= minPointsPerLeaf_arg)
leaf_container->getPointIndices(indicesVector_arg);
}

Expand Down

0 comments on commit e9d8645

Please sign in to comment.