Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tizianoGuadagnino committed Jan 7, 2025
1 parent f16f6d3 commit 85c5ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/kiss_icp/core/Preprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ std::vector<Eigen::Vector3d> Preprocessor::Preprocess(const std::vector<Eigen::V
std::vector<Eigen::Vector3d> preprocessed_frame;
preprocessed_frame.reserve(deskewed_frame.size());
std::for_each(deskewed_frame.cbegin(), deskewed_frame.cend(), [&](const auto &point) {
const double norm = point.norm();
if (norm < max_range_ && norm > min_range_) {
const double point_range = point.norm();
if (point_range < max_range_ && point_range > min_range_) {
preprocessed_frame.emplace_back(point);
}
});
Expand Down

0 comments on commit 85c5ed0

Please sign in to comment.