From a388ef92df9135ca6bb91579f8ad5fd723b233e7 Mon Sep 17 00:00:00 2001 From: David Seaward Date: Sun, 11 Oct 2015 17:25:45 +0200 Subject: [PATCH] finalSquaredDistance should be a T, not unsigned - see https://github.com/ethz-asl/libpointmatcher/issues/125 --- pointmatcher/PointMatcher.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pointmatcher/PointMatcher.h b/pointmatcher/PointMatcher.h index 03a8a1ba..1020b91b 100644 --- a/pointmatcher/PointMatcher.h +++ b/pointmatcher/PointMatcher.h @@ -68,7 +68,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //! version of the Pointmatcher library as string -#define POINTMATCHER_VERSION "1.2.3-previz_mod.2015.5" +#define POINTMATCHER_VERSION "1.2.3-previz_mod.2015.6" //! version of the Pointmatcher library as an int #define POINTMATCHER_VERSION_INT 10203 @@ -708,7 +708,7 @@ struct PointMatcher protected: unsigned prefilteredReadingPtsCount; //!< remaining number of points after prefiltering but before the iterative process unsigned prefilteredReferencePtsCount; //!< remaining number of points after prefiltering but before the iterative process - unsigned finalSquaredDistance; //!< the squared euclidean distance after the final iteration + T finalSquaredDistance; //!< the squared euclidean distance after the final iteration ICPChainBase();