Skip to content

Commit

Permalink
possible bug in the MT?
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Jun 25, 2020
1 parent 77f65ab commit cfb019d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pclomp/ndt_omp_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ pclomp::NormalDistributionsTransform<PointSource, PointTarget>::computeStepLengt
double g_u = auxilaryFunction_dPsiMT (d_phi_0, d_phi_0, mu);

// Check used to allow More-Thuente step length calculation to be skipped by making step_min == step_max
bool interval_converged = (step_max - step_min) < 0, open_interval = true;
bool interval_converged = (step_max - step_min) > 0, open_interval = true;

double a_t = step_init;
a_t = std::min (a_t, step_max);
Expand Down

0 comments on commit cfb019d

Please sign in to comment.