fix compilation with EIGEN_NO_DEBUG

This commit is contained in:
Gael Guennebaud 2011-12-09 23:42:39 +01:00
parent 38277e8a9b
commit d400a6245e

View File

@ -456,7 +456,9 @@ LDLT<MatrixType,_UpLo>& LDLT<MatrixType,_UpLo>::rankUpdate(const MatrixBase<Deri
{
const Index size = w.rows();
if (m_isInitialized)
{
eigen_assert(m_matrix.rows()==size);
}
else
{
m_matrix.resize(size,size);