diff options
author | 2013-07-07 19:34:13 +0800 | |
---|---|---|
committer | 2013-07-07 19:34:13 +0800 | |
commit | 55ec3cc6d50807ae99dfe603e15ff5f7d075ecb3 (patch) | |
tree | 1c58852268876c5a0bb0a12ebc1fd3f0355fac4c /unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h | |
parent | 9e2b4eeac0dcf62f27e05bb0ae923d5c48ee98ed (diff) |
Prevent copying with internal::noncopyable.
Diffstat (limited to 'unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h')
-rw-r--r-- | unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h | 6 |
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: |