From 5dbb64619013dd3f9558aed2b7b0f2a712f34c22 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Thu, 29 Mar 2012 19:19:12 +0200 Subject: Add private copy constructors to sparse solvers backends --- Eigen/src/SuperLUSupport/SuperLUSupport.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Eigen/src/SuperLUSupport') diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h index ee627826b..f72e2cf7e 100644 --- a/Eigen/src/SuperLUSupport/SuperLUSupport.h +++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h @@ -470,6 +470,9 @@ class SuperLUBase int m_factorizationIsOk; int m_analysisIsOk; mutable bool m_extractedDataAreDirty; + + private: + SuperLUBase(SuperLUBase& ) { } }; @@ -604,6 +607,10 @@ class SuperLU : public SuperLUBase<_MatrixType,SuperLU<_MatrixType> > m_sluOptions.Trans = NOTRANS; m_sluOptions.ColPerm = COLAMD; } + + + private: + SuperLU(SuperLU& ) { } }; template @@ -916,6 +923,9 @@ class SuperILU : public SuperLUBase<_MatrixType,SuperILU<_MatrixType> > m_sluOptions.ILU_DropRule = DROP_BASIC; m_sluOptions.ILU_DropTol = NumTraits::dummy_precision()*10; } + + private: + SuperILU(SuperILU& ) { } }; template -- cgit v1.2.3