Misleading comment
https://github.com/PointCloudLibrary/pcl/blob/a3fa3f147c1812808f960266de25db0c4e5aec90/registration/include/pcl/registration/impl/ndt.hpp#L150
This is the standard Newton step for both minimization and maximization. Whether the stationary point is a maximum or minimum depends on the Hessian’s definiteness.
I will take this issue. Please assign it to me.
The comment at line 150 in ndt.hpp is misleading. It suggests that the Newton step applies to both minimization and maximization, but does not clarify the role of the Hessian's definiteness. I will update the comment to explain that the nature of the stationary point (maximum or minimum) depends on the definiteness of the Hessian matrix. This should make the comment more accurate and informative.
I will take this issue. Please assign it to me.
The comment at line 150 in
ndt.hppis misleading. It suggests that the Newton step applies to both minimization and maximization, but does not clarify the role of the Hessian's definiteness. I will update the comment to explain that the nature of the stationary point (maximum or minimum) depends on the definiteness of the Hessian matrix. This should make the comment more accurate and informative.
@thallerod have already opened a PR as well, so you must find another issue to work on 👍