diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-07-02 09:35:37 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-07-02 09:35:37 +0200 |
commit | 61b88d2feb8f23d1ba122f2c9a73abb183ebb25d (patch) | |
tree | da8fbb7e88c6668bbf4b63e2c988697d95f9f2de /Eigen/src/Core/DiagonalMatrix.h | |
parent | 8f4cdbbc8f9b2214b906412701722a150cba3460 (diff) | |
parent | bf334b8ae51725754f525c2ffcfbd83ffc55ff2e (diff) |
merge with default branch
Diffstat (limited to 'Eigen/src/Core/DiagonalMatrix.h')
-rw-r--r-- | Eigen/src/Core/DiagonalMatrix.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h index e26d24eb2..5f7e5fe33 100644 --- a/Eigen/src/Core/DiagonalMatrix.h +++ b/Eigen/src/Core/DiagonalMatrix.h @@ -108,21 +108,6 @@ class DiagonalBase : public EigenBase<Derived> { return other.diagonal() * scalar; } - - #ifdef EIGEN2_SUPPORT - template<typename OtherDerived> - EIGEN_DEVICE_FUNC - bool isApprox(const DiagonalBase<OtherDerived>& other, typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) const - { - return diagonal().isApprox(other.diagonal(), precision); - } - template<typename OtherDerived> - EIGEN_DEVICE_FUNC - bool isApprox(const MatrixBase<OtherDerived>& other, typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) const - { - return toDenseMatrix().isApprox(other, precision); - } - #endif }; #ifndef EIGEN_TEST_EVALUATORS |