Skip to content

Commit

Permalink
Correct boolean expressions
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Vieth <[email protected]>
  • Loading branch information
DIlkhush00 and mvieth authored Sep 10, 2024
1 parent 1011600 commit f515e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registration/include/pcl/registration/impl/ndt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ NormalDistributionsTransform<PointSource, PointTarget, Scalar>::computeStepLengt
// Thuente 1994]
while (!interval_converged && step_iterations < max_step_iterations &&
(psi_t > 0 /*Sufficient Decrease*/ ||
d_phi_t < -nu * d_phi_0 /*Curvature Condition*/)) {
d_phi_t > -nu * d_phi_0 /*Curvature Condition*/)) {
// Use auxiliary function if interval I is not closed
if (open_interval) {
a_t = trialValueSelectionMT(a_l, f_l, g_l, a_u, f_u, g_u, a_t, psi_t, d_psi_t);
Expand Down

0 comments on commit f515e45

Please sign in to comment.