From 803934b8efd4f836fb37685406448be78f3a9eb9 Mon Sep 17 00:00:00 2001 From: Anders Glent Buch <andersgb1@gmail.com> Date: Tue, 9 Dec 2014 09:46:04 +0100 Subject: [PATCH] Remove a wrong error normalization --- .../pcl/registration/impl/sample_consensus_prerejective.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/registration/include/pcl/registration/impl/sample_consensus_prerejective.hpp b/registration/include/pcl/registration/impl/sample_consensus_prerejective.hpp index a755e51835d..c0c5d6b95a4 100644 --- a/registration/include/pcl/registration/impl/sample_consensus_prerejective.hpp +++ b/registration/include/pcl/registration/impl/sample_consensus_prerejective.hpp @@ -220,7 +220,6 @@ pcl::SampleConsensusPrerejective<PointSource, PointTarget, FeatureT>::computeTra { getFitness (inliers, error); inlier_fraction = static_cast<float> (inliers.size ()) / static_cast<float> (input_->size ()); - error /= static_cast<float> (inliers.size ()); if (inlier_fraction >= inlier_fraction_ && error < lowest_error) {