aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore
diff options
context:
space:
mode:
authorGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-07 00:37:48 +0100
committerGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-07 00:37:48 +0100
commit76946849922a50bc288da2ec9806c6b9c11ff9e0 (patch)
tree8d4f5e2b146149b4419c58e6d408e3fd68ea88be /Eigen/src/SparseCore
parentf2f9df8aa57d7a303eb113c251245e315f2ad2b7 (diff)
Remove superfluous const's (can cause warnings on some Intel compilers)
Diffstat (limited to 'Eigen/src/SparseCore')
-rw-r--r--Eigen/src/SparseCore/SparseMatrixBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseCore/SparseMatrixBase.h b/Eigen/src/SparseCore/SparseMatrixBase.h
index 6087da5c4..0da4c2a36 100644
--- a/Eigen/src/SparseCore/SparseMatrixBase.h
+++ b/Eigen/src/SparseCore/SparseMatrixBase.h
@@ -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;