diff options
author | 2013-08-02 11:05:00 +0200 | |
---|---|---|
committer | 2013-08-02 11:05:00 +0200 | |
commit | 8ea7413a64aceb888af7106e42f6b8b3c48b3f61 (patch) | |
tree | 20dbb9cc1a0b5adaf10ab3b4f796b34e47513363 /Eigen/src | |
parent | e90229a429c74b302368e788a36d8bbef4d1e617 (diff) |
Fix compilation and warning of PARDISO
Diffstat (limited to 'Eigen/src')
-rw-r--r-- | Eigen/src/PardisoSupport/PardisoSupport.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Eigen/src/PardisoSupport/PardisoSupport.h b/Eigen/src/PardisoSupport/PardisoSupport.h index 1c48f0df7..e459ea96e 100644 --- a/Eigen/src/PardisoSupport/PardisoSupport.h +++ b/Eigen/src/PardisoSupport/PardisoSupport.h @@ -219,7 +219,7 @@ class PardisoImpl void pardisoInit(int type) { m_type = type; - bool symmetric = abs(m_type) < 10; + bool symmetric = std::abs(m_type) < 10; m_iparm[0] = 1; // No solver default m_iparm[1] = 3; // use Metis for the ordering m_iparm[2] = 1; // Numbers of processors, value of OMP_NUM_THREADS @@ -278,7 +278,7 @@ class PardisoImpl Index m_size; private: - PardisoImpl(PardisoImpl &) {} + PardisoImpl(const PardisoImpl&); }; template<class Derived> @@ -436,7 +436,7 @@ class PardisoLU : public PardisoImpl< PardisoLU<MatrixType> > } private: - PardisoLU(PardisoLU& ) {} + PardisoLU(const PardisoLU&); }; /** \ingroup PardisoSupport_Module @@ -495,7 +495,7 @@ class PardisoLLT : public PardisoImpl< PardisoLLT<MatrixType,_UpLo> > } private: - PardisoLLT(PardisoLLT& ) {} + PardisoLLT(const PardisoLLT&); }; /** \ingroup PardisoSupport_Module @@ -554,7 +554,7 @@ class PardisoLDLT : public PardisoImpl< PardisoLDLT<MatrixType,Options> > } private: - PardisoLDLT(PardisoLDLT& ) {} + PardisoLDLT(const PardisoLDLT&); }; namespace internal { |