Fix ICE with ICC 11

(transplanted from 660b905e12
)
This commit is contained in:
Gael Guennebaud
2013-07-19 11:46:54 +02:00
parent e788869cf5
commit 5ecfdf2c00
2 changed files with 6 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived>
>::type AdjointReturnType;
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor> PlainObject;
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor, Index> PlainObject;
#ifndef EIGEN_PARSED_BY_DOXYGEN