You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed some odd misspellings
Fixed formatting escapes
Ran 'build format' to resolve clang-format issues
Debugging odd compile error
Fixed more issues from CI
Addressed CI issues and review feedback
Added missing const
Added yet more missing const
Reverted another omp parallel for
Reverted for third-party code
Disabled clang-tidy for third-party code
// Check to see if a neighbor is higher than the query point
156
156
float query_z = (*input_)[iii].z;
157
-
for (std::size_t k = 0; k < radius_indices.size (); ++k) // the query point itself is in the (unsorted) radius_indices, but that is okay since we compare with ">"
157
+
for (constauto& radius_index : radius_indices) // the query point itself is in the (unsorted) radius_indices, but that is okay since we compare with ">"
158
158
{
159
-
if ((*input_)[radius_indices[k]].z > query_z)
159
+
if ((*input_)[radius_index].z > query_z)
160
160
{
161
161
// Query point is not the local max, no need to check others
// visited, excluding them from future consideration as local maxima
169
169
if (point_is_max[iii])
170
170
{
171
-
for (std::size_t k = 0; k < radius_indices.size (); ++k) // the query point itself is in the (unsorted) radius_indices, but it must also be marked as visited
171
+
for (constauto& radius_index : radius_indices) // the query point itself is in the (unsorted) radius_indices, but it must also be marked as visited
0 commit comments