Skip to content

Commit

Permalink
Merge pull request #2203 from vinjk/fix_code_error
Browse files Browse the repository at this point in the history
fix error in Line 11 in  example code for estimate set of surface for a subset of points in the input dataset
  • Loading branch information
SergioRAgostinho authored Feb 6, 2018
2 parents f980937 + 1788fa1 commit ec03687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorials/content/how_features_work.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ The following code snippet will estimate a set of surface normals for a subset o
// Create a set of indices to be used. For simplicity, we're going to be using the first 10% of the points in cloud
std::vector<int> indices (floor (cloud->points.size () / 10));
for (size_t i = 0; indices.size (); ++i) indices[i] = i;
for (size_t i = 0; i < indices.size (); ++i) indices[i] = i;
// Create the normal estimation class, and pass the input dataset to it
pcl::NormalEstimation<pcl::PointXYZ, pcl::Normal> ne;
Expand Down

0 comments on commit ec03687

Please sign in to comment.