From 76a3725ecfca9437bb71a7ecc263ab9c7ee29963 Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Fri, 27 Oct 2023 17:32:12 +0200 Subject: [PATCH] Move function inside unnames namespace --- cpp/kiss_icp/core/Registration.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cpp/kiss_icp/core/Registration.cpp b/cpp/kiss_icp/core/Registration.cpp index b71d076f..1d22bef0 100644 --- a/cpp/kiss_icp/core/Registration.cpp +++ b/cpp/kiss_icp/core/Registration.cpp @@ -65,10 +65,6 @@ void TransformPoints(const Sophus::SE3d &T, std::vector &points constexpr int MAX_NUM_ITERATIONS_ = 500; constexpr double ESTIMATION_THRESHOLD_ = 0.0001; -} // namespace - -namespace kiss_icp { - std::tuple BuildLinearSystem( const std::vector &source, const std::vector &target, @@ -105,6 +101,9 @@ std::tuple BuildLinearSystem( return std::make_tuple(JTJ, JTr); } +} // namespace + +namespace kiss_icp { Sophus::SE3d RegisterFrame(const std::vector &frame, const VoxelHashMap &voxel_map,