aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/PardisoSupport/PardisoSupport.h
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-03-29 19:19:12 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-03-29 19:19:12 +0200
commit5dbb64619013dd3f9558aed2b7b0f2a712f34c22 (patch)
tree2f4ccb5d0356ce1843d357fe4c1001dfa584e960 /Eigen/src/PardisoSupport/PardisoSupport.h
parent2d35f88bcf4ffb99e4010a4bd6029bfe01d6527d (diff)
Add private copy constructors to sparse solvers backends
Diffstat (limited to 'Eigen/src/PardisoSupport/PardisoSupport.h')
-rw-r--r--Eigen/src/PardisoSupport/PardisoSupport.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Eigen/src/PardisoSupport/PardisoSupport.h b/Eigen/src/PardisoSupport/PardisoSupport.h
index 69f4a18bb..450f5abc6 100644
--- a/Eigen/src/PardisoSupport/PardisoSupport.h
+++ b/Eigen/src/PardisoSupport/PardisoSupport.h
@@ -296,6 +296,9 @@ class PardisoImpl
mutable Array<Index,64,1> m_iparm;
mutable IntColVectorType m_perm;
Index m_size;
+
+ private:
+ PardisoImpl(PardisoImpl &) {}
};
template<class Derived>
@@ -451,6 +454,9 @@ class PardisoLU : public PardisoImpl< PardisoLU<MatrixType> >
{
m_matrix = matrix;
}
+
+ private:
+ PardisoLU(PardisoLU& ) {}
};
/** \ingroup PardisoSupport_Module
@@ -507,6 +513,9 @@ class PardisoLLT : public PardisoImpl< PardisoLLT<MatrixType,_UpLo> >
m_matrix.resize(matrix.rows(), matrix.cols());
m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null);
}
+
+ private:
+ PardisoLLT(PardisoLLT& ) {}
};
/** \ingroup PardisoSupport_Module
@@ -563,6 +572,9 @@ class PardisoLDLT : public PardisoImpl< PardisoLDLT<MatrixType,Options> >
m_matrix.resize(matrix.rows(), matrix.cols());
m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_null);
}
+
+ private:
+ PardisoLDLT(PardisoLDLT& ) {}
};
namespace internal {