aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
diff options
context:
space:
mode:
authorGravatar Chen-Pang He <jdh8@ms63.hinet.net>2013-07-07 19:34:13 +0800
committerGravatar Chen-Pang He <jdh8@ms63.hinet.net>2013-07-07 19:34:13 +0800
commit55ec3cc6d50807ae99dfe603e15ff5f7d075ecb3 (patch)
tree1c58852268876c5a0bb0a12ebc1fd3f0355fac4c /unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
parent9e2b4eeac0dcf62f27e05bb0ae923d5c48ee98ed (diff)
Prevent copying with internal::noncopyable.
Diffstat (limited to 'unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h')
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
index b48ea9d46..f3bcef409 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h
@@ -24,7 +24,7 @@ namespace Eigen {
* \sa MatrixSquareRoot, MatrixSquareRootTriangular
*/
template <typename MatrixType>
-class MatrixSquareRootQuasiTriangular
+class MatrixSquareRootQuasiTriangular : internal::noncopyable
{
public:
@@ -253,7 +253,7 @@ void MatrixSquareRootQuasiTriangular<MatrixType>
* \sa MatrixSquareRoot, MatrixSquareRootQuasiTriangular
*/
template <typename MatrixType>
-class MatrixSquareRootTriangular
+class MatrixSquareRootTriangular : internal::noncopyable
{
public:
MatrixSquareRootTriangular(const MatrixType& A)
@@ -370,7 +370,7 @@ class MatrixSquareRoot<MatrixType, 0>
// ********** Partial specialization for complex matrices **********
template <typename MatrixType>
-class MatrixSquareRoot<MatrixType, 1>
+class MatrixSquareRoot<MatrixType, 1> : internal::noncopyable
{
public: