Remove useless "explicit", and fix inline/static order.

This commit is contained in:
Gael Guennebaud
2015-12-11 10:59:39 +01:00
parent 79c1e6d0a6
commit 30b5c4cd14
5 changed files with 6 additions and 6 deletions

2
Eigen/src/Eigenvalues/GeneralizedEigenSolver.h Normal file → Executable file
View File

@@ -145,7 +145,7 @@ template<typename _MatrixType> class GeneralizedEigenSolver
*
* \sa compute()
*/
explicit GeneralizedEigenSolver(const MatrixType& A, const MatrixType& B, bool computeEigenvectors = true)
GeneralizedEigenSolver(const MatrixType& A, const MatrixType& B, bool computeEigenvectors = true)
: m_eivec(A.rows(), A.cols()),
m_alphas(A.cols()),
m_betas(A.cols()),

2
Eigen/src/Eigenvalues/RealQZ.h Normal file → Executable file
View File

@@ -101,7 +101,7 @@ namespace Eigen {
*
* This constructor calls compute() to compute the QZ decomposition.
*/
explicit RealQZ(const MatrixType& A, const MatrixType& B, bool computeQZ = true) :
RealQZ(const MatrixType& A, const MatrixType& B, bool computeQZ = true) :
m_S(A.rows(),A.cols()),
m_T(A.rows(),A.cols()),
m_Q(A.rows(),A.cols()),