Make Pardiso solvers non copyabe

This commit is contained in:
Gael Guennebaud 2013-08-02 11:09:02 +02:00
parent 8ea7413a64
commit e3058dd88b

View File

@ -96,7 +96,7 @@ namespace internal
} }
template<class Derived> template<class Derived>
class PardisoImpl class PardisoImpl : internal::noncopyable
{ {
typedef internal::pardiso_traits<Derived> Traits; typedef internal::pardiso_traits<Derived> Traits;
public: public:
@ -277,8 +277,6 @@ class PardisoImpl
mutable IntColVectorType m_perm; mutable IntColVectorType m_perm;
Index m_size; Index m_size;
private:
PardisoImpl(const PardisoImpl&);
}; };
template<class Derived> template<class Derived>
@ -434,9 +432,6 @@ class PardisoLU : public PardisoImpl< PardisoLU<MatrixType> >
{ {
m_matrix = matrix; m_matrix = matrix;
} }
private:
PardisoLU(const PardisoLU&);
}; };
/** \ingroup PardisoSupport_Module /** \ingroup PardisoSupport_Module
@ -493,9 +488,6 @@ class PardisoLLT : public PardisoImpl< PardisoLLT<MatrixType,_UpLo> >
m_matrix.resize(matrix.rows(), matrix.cols()); m_matrix.resize(matrix.rows(), matrix.cols());
m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null); m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null);
} }
private:
PardisoLLT(const PardisoLLT&);
}; };
/** \ingroup PardisoSupport_Module /** \ingroup PardisoSupport_Module
@ -552,9 +544,6 @@ class PardisoLDLT : public PardisoImpl< PardisoLDLT<MatrixType,Options> >
m_matrix.resize(matrix.rows(), matrix.cols()); m_matrix.resize(matrix.rows(), matrix.cols());
m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null); m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null);
} }
private:
PardisoLDLT(const PardisoLDLT&);
}; };
namespace internal { namespace internal {