mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +08:00
Remove useless explicit
This commit is contained in:
parent
bcb4f126a7
commit
7385e6e2ef
5
Eigen/src/SparseLU/SparseLU.h
Normal file → Executable file
5
Eigen/src/SparseLU/SparseLU.h
Normal file → Executable file
@ -101,7 +101,8 @@ class SparseLU : public SparseSolverBase<SparseLU<_MatrixType,_OrderingType> >,
|
|||||||
{
|
{
|
||||||
initperfvalues();
|
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();
|
initperfvalues();
|
||||||
compute(matrix);
|
compute(matrix);
|
||||||
@ -719,7 +720,7 @@ template<typename MatrixLType, typename MatrixUType>
|
|||||||
struct SparseLUMatrixUReturnType : internal::no_assignment_operator
|
struct SparseLUMatrixUReturnType : internal::no_assignment_operator
|
||||||
{
|
{
|
||||||
typedef typename MatrixLType::Scalar Scalar;
|
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)
|
: m_mapL(mapL),m_mapU(mapU)
|
||||||
{ }
|
{ }
|
||||||
Index rows() { return m_mapL.rows(); }
|
Index rows() { return m_mapL.rows(); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user