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

(grafted from e236d3443c
)
This commit is contained in:
Angelos Mantzaflaris
2016-12-07 00:37:48 +01:00
parent f2f9df8aa5
commit 7694684992
2 changed files with 3 additions and 3 deletions

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;