diff --git a/unsupported/Eigen/src/NonLinear/LevenbergMarquardt.h b/unsupported/Eigen/src/NonLinear/LevenbergMarquardt.h index 8952a1dbf..27768a160 100644 --- a/unsupported/Eigen/src/NonLinear/LevenbergMarquardt.h +++ b/unsupported/Eigen/src/NonLinear/LevenbergMarquardt.h @@ -389,7 +389,6 @@ LevenbergMarquardt::minimizeOneStep( /* end of the inner loop. repeat if iteration unsuccessful. */ } while (ratio < Scalar(1e-4)); /* end of the outer loop. */ - return Running; } @@ -650,14 +649,12 @@ LevenbergMarquardt::minimizeNumericalDiffOneStep( return XtolTooSmall; if (gnorm <= epsilon()) return GtolTooSmall; - /* end of the inner loop. repeat if iteration unsuccessful. */ } while (ratio < Scalar(1e-4)); /* end of the outer loop. */ return Running; } - template typename LevenbergMarquardt::Status LevenbergMarquardt::minimizeNumericalDiff( @@ -950,15 +947,12 @@ LevenbergMarquardt::minimizeOptimumStorageOneStep( return XtolTooSmall; if (gnorm <= epsilon()) return GtolTooSmall; - /* end of the inner loop. repeat if iteration unsuccessful. */ } while (ratio < Scalar(1e-4)); /* end of the outer loop. */ - return Running; } - template typename LevenbergMarquardt::Status LevenbergMarquardt::minimizeOptimumStorage(