aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-01-18 08:18:48 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-01-18 08:18:48 +0100
commit6b380992b5bba505b1c7dcf13724417dba3f75a9 (patch)
treede8437042c1f7140c782339ac298dba85c66fae5 /Eigen
parent0c894753178dfa32463ac8d233239672f3acb810 (diff)
fix !=
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/MatrixBase.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h
index b85bece5e..5ceb02cb8 100644
--- a/Eigen/src/Core/MatrixBase.h
+++ b/Eigen/src/Core/MatrixBase.h
@@ -247,7 +247,6 @@ template<typename Derived> class MatrixBase
const DiagonalWrapper<Derived> asDiagonal() const;
Derived& setIdentity();
- Derived& setIdentity(int rows, int cols);
bool isIdentity(RealScalar prec = dummy_precision<Scalar>()) const;
bool isDiagonal(RealScalar prec = dummy_precision<Scalar>()) const;
@@ -274,7 +273,7 @@ template<typename Derived> class MatrixBase
* \sa isApprox(), operator== */
template<typename OtherDerived>
inline bool operator!=(const MatrixBase<OtherDerived>& other) const
- { return cwiseNotEqual(other).all(); }
+ { return cwiseNotEqual(other).any(); }
NoAlias<Derived,Eigen::MatrixBase > noalias();