From c11300dbd52accc3724300854ede5df4b09ab2a6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 6 Jan 2010 17:16:30 +0100 Subject: [PATCH] a couple of fixes --- Eigen/src/Array/ArrayBase.h | 8 -------- Eigen/src/Core/Block.h | 5 +++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Eigen/src/Array/ArrayBase.h b/Eigen/src/Array/ArrayBase.h index 9e8d0c927..0effa2e2d 100644 --- a/Eigen/src/Array/ArrayBase.h +++ b/Eigen/src/Array/ArrayBase.h @@ -148,14 +148,6 @@ template class ArrayBase template Derived& operator/=(const ArrayBase& other); - template - inline bool operator==(const ArrayBase& other) const - { return cwiseEqual(other).all(); } - - template - inline bool operator!=(const ArrayBase& other) const - { return cwiseNotEqual(other).all(); } - public: MatrixWrapper matrix() { return derived(); } const MatrixWrapper matrix() const { return derived(); } diff --git a/Eigen/src/Core/Block.h b/Eigen/src/Core/Block.h index 461652410..fa63d27dc 100644 --- a/Eigen/src/Core/Block.h +++ b/Eigen/src/Core/Block.h @@ -81,11 +81,12 @@ struct ei_traits > }; template class Block - :public MatrixType::template MakeBase< Block >::Type + : public MatrixType::template MakeBase< Block >::Type { public: - EIGEN_GENERIC_PUBLIC_INTERFACE(Block) + typedef typename MatrixType::template MakeBase< Block >::Type Base; + _EIGEN_DENSE_PUBLIC_INTERFACE(Block) class InnerIterator;