aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/DiagonalMatrix.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-26 08:48:04 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-26 08:48:04 +0000
commit729618c945aaf5183316abd1badc4921cecd86f1 (patch)
tree99b44a2974698f622180721334f1f1c07d91423e /Eigen/src/Core/DiagonalMatrix.h
parent4342f024d9937beaff70635d2e2cb1ad6574bf72 (diff)
* #define EIGEN_NDEBUG now also disables asserts. Useful
to disable eigen's asserts without disabling one's own program's asserts. Notice that Eigen code should now use ei_assert() instead of assert(). * Remove findBiggestCoeff() as it's now almost redundant. * Improve echelon.cpp: inner for loop replaced by xprs. * remove useless "(*this)." here and there. I think they were first introduced by automatic search&replace. * fix compilation in Visitor.h (issue triggered by echelon.cpp) * improve comment on swap().
Diffstat (limited to 'Eigen/src/Core/DiagonalMatrix.h')
-rw-r--r--Eigen/src/Core/DiagonalMatrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h
index 79fa562d9..36d2c656b 100644
--- a/Eigen/src/Core/DiagonalMatrix.h
+++ b/Eigen/src/Core/DiagonalMatrix.h
@@ -60,7 +60,7 @@ class DiagonalMatrix : ei_no_assignment_operator,
DiagonalMatrix(const CoeffsVectorType& coeffs) : m_coeffs(coeffs)
{
- assert(CoeffsVectorType::IsVectorAtCompileTime
+ ei_assert(CoeffsVectorType::IsVectorAtCompileTime
&& coeffs.size() > 0);
}