fix compilation with ICC (template keyword on a non template method)

This commit is contained in:
Gael Guennebaud 2010-12-10 10:05:52 +01:00
parent 5bc21c25c5
commit 67c28570e3

View File

@ -548,7 +548,7 @@ template<typename MatrixType> struct TridiagonalizationMatrixTReturnType
{
result.setZero();
result.template diagonal<1>() = m_matrix.template diagonal<-1>().conjugate();
result.template diagonal() = m_matrix.template diagonal();
result.diagonal() = m_matrix.diagonal();
result.template diagonal<-1>() = m_matrix.template diagonal<-1>();
}