mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-01 18:26:24 +08:00
remove printfs, they are of no use and may prevent compilation
This commit is contained in:
parent
a1e9e8d082
commit
c1be96967e
@ -114,10 +114,8 @@ HybridNonLinearSolver<FunctorType,Scalar>::solve(
|
||||
Parameters parameters;
|
||||
|
||||
/* check the input parameters for errors. */
|
||||
if (n <= 0 || tol < 0.) {
|
||||
printf("HybridNonLinearSolver::solve() bad args : n,tol,...");
|
||||
if (n <= 0 || tol < 0.)
|
||||
return ImproperInputParameters;
|
||||
}
|
||||
|
||||
parameters.maxfev = 100*(n+1);
|
||||
parameters.xtol = tol;
|
||||
@ -429,10 +427,8 @@ HybridNonLinearSolver<FunctorType,Scalar>::solveNumericalDiff(
|
||||
Parameters parameters;
|
||||
|
||||
/* check the input parameters for errors. */
|
||||
if (n <= 0 || tol < 0.) {
|
||||
printf("HybridNonLinearSolver::solve() bad args : n,tol,...");
|
||||
if (n <= 0 || tol < 0.)
|
||||
return ImproperInputParameters;
|
||||
}
|
||||
|
||||
parameters.maxfev = 200*(n+1);
|
||||
parameters.xtol = tol;
|
||||
|
@ -133,10 +133,8 @@ LevenbergMarquardt<FunctorType,Scalar>::minimize(
|
||||
Parameters parameters;
|
||||
|
||||
/* check the input parameters for errors. */
|
||||
if (n <= 0 || m < n || tol < 0.) {
|
||||
printf("LevenbergMarquardt::minimize() bad args : m,n,tol,...");
|
||||
if (n <= 0 || m < n || tol < 0.)
|
||||
return ImproperInputParameters;
|
||||
}
|
||||
|
||||
parameters.ftol = tol;
|
||||
parameters.xtol = tol;
|
||||
@ -420,10 +418,8 @@ LevenbergMarquardt<FunctorType,Scalar>::minimizeNumericalDiff(
|
||||
Parameters parameters;
|
||||
|
||||
/* check the input parameters for errors. */
|
||||
if (n <= 0 || m < n || tol < 0.) {
|
||||
printf("ei_lmder1 bad args : m,n,tol,...");
|
||||
if (n <= 0 || m < n || tol < 0.)
|
||||
return ImproperInputParameters;
|
||||
}
|
||||
|
||||
parameters.ftol = tol;
|
||||
parameters.xtol = tol;
|
||||
@ -708,10 +704,8 @@ LevenbergMarquardt<FunctorType,Scalar>::minimizeOptimumStorage(
|
||||
Parameters parameters;
|
||||
|
||||
/* check the input parameters for errors. */
|
||||
if (n <= 0 || m < n || tol < 0.) {
|
||||
printf("LevenbergMarquardtOptimumStorage::minimize() bad args : m,n,tol,...");
|
||||
if (n <= 0 || m < n || tol < 0.)
|
||||
return ImproperInputParameters;
|
||||
}
|
||||
|
||||
parameters.ftol = tol;
|
||||
parameters.xtol = tol;
|
||||
|
Loading…
Reference in New Issue
Block a user