diff options
author | 2010-01-18 08:18:48 +0100 | |
---|---|---|
committer | 2010-01-18 08:18:48 +0100 | |
commit | 6b380992b5bba505b1c7dcf13724417dba3f75a9 (patch) | |
tree | de8437042c1f7140c782339ac298dba85c66fae5 /Eigen | |
parent | 0c894753178dfa32463ac8d233239672f3acb810 (diff) |
fix !=
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 3 |
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(); |