aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h')
-rw-r--r--unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h b/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h
index 3210587e4..32d3ad518 100644
--- a/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h
+++ b/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h
@@ -33,7 +33,7 @@ void covar(
const Index n = r.cols();
const Scalar tolr = tol * abs(r(0,0));
Matrix< Scalar, Dynamic, 1 > wa(n);
- assert(ipvt.size()==n);
+ eigen_assert(ipvt.size()==n);
/* form the inverse of r in the full upper triangle of r. */
l = -1;