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

Replace '.points[' with just '[' #4219

Merged
merged 5 commits into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
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
Applying formatting
  • Loading branch information
kunaltyagi committed Jun 23, 2020
commit a82594262564f795f03aaeafa590ddc1284e572a
3 changes: 1 addition & 2 deletions octree/include/pcl/octree/octree_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ class OctreePointCloudSearch
std::vector<float>& k_sqr_distances,
unsigned int max_nn = 0)
{
return (
radiusSearch(cloud[index], radius, k_indices, k_sqr_distances, max_nn));
return (radiusSearch(cloud[index], radius, k_indices, k_sqr_distances, max_nn));
}

/** \brief Search for all neighbors of query point that are within a given radius.
Expand Down
6 changes: 2 additions & 4 deletions tracking/include/pcl/tracking/impl/pyramidal_klt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,8 @@ PyramidalKLTTracker<PointInT, IntensityT>::spatialGradient(

for (int y = 0; y < track_height_; y++) {
const float* img_ptr = &(img[0]) + (y + location[1]) * step + location[0];
const float* grad_x_ptr =
&(grad_x[0]) + (y + location[1]) * step + location[0];
const float* grad_y_ptr =
&(grad_y[0]) + (y + location[1]) * step + location[0];
const float* grad_x_ptr = &(grad_x[0]) + (y + location[1]) * step + location[0];
const float* grad_y_ptr = &(grad_y[0]) + (y + location[1]) * step + location[0];

float* win_ptr = win.data() + y * win.cols();
float* grad_x_win_ptr = grad_x_win.data() + y * grad_x_win.cols();
Expand Down