diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-12-11 11:11:19 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-12-11 11:11:19 +0100 |
commit | 7385e6e2ef944a4be9464760066ab072ed315e1c (patch) | |
tree | a2f9752491a6f1d761c10f3a9d7a3360b17b5266 /Eigen/src/SparseLU | |
parent | bcb4f126a735e68d7d2dcd08c853a89a31b3440e (diff) |
Remove useless explicit
Diffstat (limited to 'Eigen/src/SparseLU')
-rwxr-xr-x[-rw-r--r--] | Eigen/src/SparseLU/SparseLU.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Eigen/src/SparseLU/SparseLU.h b/Eigen/src/SparseLU/SparseLU.h index acd3ad100..d33d27f46 100644..100755 --- a/Eigen/src/SparseLU/SparseLU.h +++ b/Eigen/src/SparseLU/SparseLU.h @@ -101,7 +101,8 @@ class SparseLU : public SparseSolverBase<SparseLU<_MatrixType,_OrderingType> >, { initperfvalues(); } - explicit SparseLU(const MatrixType& matrix):m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1) + explicit SparseLU(const MatrixType& matrix) + : m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1) { initperfvalues(); compute(matrix); @@ -719,7 +720,7 @@ template<typename MatrixLType, typename MatrixUType> struct SparseLUMatrixUReturnType : internal::no_assignment_operator { typedef typename MatrixLType::Scalar Scalar; - explicit SparseLUMatrixUReturnType(const MatrixLType& mapL, const MatrixUType& mapU) + SparseLUMatrixUReturnType(const MatrixLType& mapL, const MatrixUType& mapU) : m_mapL(mapL),m_mapU(mapU) { } Index rows() { return m_mapL.rows(); } |