From ddbe7928c1d57b1c55ede646945087ce21d2f4ad Mon Sep 17 00:00:00 2001 From: thallerod <31923232+thallerod@users.noreply.github.com> Date: Mon, 7 Sep 2026 21:45:02 +0200 Subject: [PATCH] Fix misleading comment --- registration/include/pcl/registration/impl/ndt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registration/include/pcl/registration/impl/ndt.hpp b/registration/include/pcl/registration/impl/ndt.hpp index 1a1bff948eb..14a30002346 100644 --- a/registration/include/pcl/registration/impl/ndt.hpp +++ b/registration/include/pcl/registration/impl/ndt.hpp @@ -147,7 +147,7 @@ NormalDistributionsTransform::computeTransform return; } #endif - // Negative for maximization as opposed to minimization + // Newton step obtained by solving H * delta = -gradient Eigen::Matrix delta = sv.solve(-score_gradient); // Calculate step length with guaranteed sufficient decrease [More, Thuente 1994]