Remove superfluous const's (can cause warnings on some Intel compilers)

This commit is contained in:
Angelos Mantzaflaris 2016-12-07 00:37:48 +01:00
parent 0a08d4c60b
commit e236d3443c
2 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ class WithFormat
}
protected:
const typename ExpressionType::Nested m_matrix;
typename ExpressionType::Nested m_matrix;
IOFormat m_format;
};

View File

@ -213,7 +213,7 @@ template<typename Derived> class SparseMatrixBase
if (Flags&RowMajorBit)
{
const Nested nm(m.derived());
Nested nm(m.derived());
internal::evaluator<NestedCleaned> thisEval(nm);
for (Index row=0; row<nm.outerSize(); ++row)
{
@ -232,7 +232,7 @@ template<typename Derived> class SparseMatrixBase
}
else
{
const Nested nm(m.derived());
Nested nm(m.derived());
internal::evaluator<NestedCleaned> thisEval(nm);
if (m.cols() == 1) {
Index row = 0;