suppress stupid warning

This commit is contained in:
Gael Guennebaud 2010-12-10 15:53:13 +01:00
parent 79cc86f701
commit e736df3edd

View File

@ -259,7 +259,8 @@ RealSchur<MatrixType>& RealSchur<MatrixType>::compute(const MatrixType& matrix,
}
else // No convergence yet
{
Vector3s firstHouseholderVector, shiftInfo;
// The firstHouseholderVector vector has to be initialized to something to get rid of a silly GCC warning (-O1 -Wall -DNDEBUG )
Vector3s firstHouseholderVector(0,0,0), shiftInfo;
computeShift(iu, iter, exshift, shiftInfo);
iter = iter + 1;
if (iter > m_maxIterations) break;