mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
cleaning
This commit is contained in:
parent
8b84c3733a
commit
8c3f7d8e94
@ -389,7 +389,6 @@ LevenbergMarquardt<FunctorType,Scalar>::minimizeOneStep(
|
|||||||
/* end of the inner loop. repeat if iteration unsuccessful. */
|
/* end of the inner loop. repeat if iteration unsuccessful. */
|
||||||
} while (ratio < Scalar(1e-4));
|
} while (ratio < Scalar(1e-4));
|
||||||
/* end of the outer loop. */
|
/* end of the outer loop. */
|
||||||
|
|
||||||
return Running;
|
return Running;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -650,14 +649,12 @@ LevenbergMarquardt<FunctorType,Scalar>::minimizeNumericalDiffOneStep(
|
|||||||
return XtolTooSmall;
|
return XtolTooSmall;
|
||||||
if (gnorm <= epsilon<Scalar>())
|
if (gnorm <= epsilon<Scalar>())
|
||||||
return GtolTooSmall;
|
return GtolTooSmall;
|
||||||
|
|
||||||
/* end of the inner loop. repeat if iteration unsuccessful. */
|
/* end of the inner loop. repeat if iteration unsuccessful. */
|
||||||
} while (ratio < Scalar(1e-4));
|
} while (ratio < Scalar(1e-4));
|
||||||
/* end of the outer loop. */
|
/* end of the outer loop. */
|
||||||
return Running;
|
return Running;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<typename FunctorType, typename Scalar>
|
template<typename FunctorType, typename Scalar>
|
||||||
typename LevenbergMarquardt<FunctorType,Scalar>::Status
|
typename LevenbergMarquardt<FunctorType,Scalar>::Status
|
||||||
LevenbergMarquardt<FunctorType,Scalar>::minimizeNumericalDiff(
|
LevenbergMarquardt<FunctorType,Scalar>::minimizeNumericalDiff(
|
||||||
@ -950,15 +947,12 @@ LevenbergMarquardt<FunctorType,Scalar>::minimizeOptimumStorageOneStep(
|
|||||||
return XtolTooSmall;
|
return XtolTooSmall;
|
||||||
if (gnorm <= epsilon<Scalar>())
|
if (gnorm <= epsilon<Scalar>())
|
||||||
return GtolTooSmall;
|
return GtolTooSmall;
|
||||||
|
|
||||||
/* end of the inner loop. repeat if iteration unsuccessful. */
|
/* end of the inner loop. repeat if iteration unsuccessful. */
|
||||||
} while (ratio < Scalar(1e-4));
|
} while (ratio < Scalar(1e-4));
|
||||||
/* end of the outer loop. */
|
/* end of the outer loop. */
|
||||||
|
|
||||||
return Running;
|
return Running;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<typename FunctorType, typename Scalar>
|
template<typename FunctorType, typename Scalar>
|
||||||
typename LevenbergMarquardt<FunctorType,Scalar>::Status
|
typename LevenbergMarquardt<FunctorType,Scalar>::Status
|
||||||
LevenbergMarquardt<FunctorType,Scalar>::minimizeOptimumStorage(
|
LevenbergMarquardt<FunctorType,Scalar>::minimizeOptimumStorage(
|
||||||
|
Loading…
Reference in New Issue
Block a user