Skip to content

Commit

Permalink
🐛 Fix RoPS total area
Browse files Browse the repository at this point in the history
  • Loading branch information
lucagrementieri authored and mvieth committed Dec 2, 2024
1 parent a4ad614 commit ed435bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/include/pcl/features/impl/rops_estimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ pcl::ROPSEstimation <PointInT, PointOutT>::computeLRF (const PointInT& point, co
}

if (std::abs (total_area) < std::numeric_limits <float>::epsilon ())
total_area = 1.0f / total_area;
else
total_area = 1.0f;
else
total_area = 1.0f / total_area;

Eigen::Matrix3f overall_scatter_matrix;
overall_scatter_matrix.setZero ();
Expand Down

0 comments on commit ed435bd

Please sign in to comment.