diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2010-01-18 10:29:11 +0100 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2010-01-18 10:29:11 +0100 |
commit | c436abd0ac9014156bf5e8d469a43b5c22bcc419 (patch) | |
tree | 3df072fec7abf744bed3f2a8f11d2a7ba91fcd30 /Eigen/src/Core/MatrixBase.h | |
parent | 6b380992b5bba505b1c7dcf13724417dba3f75a9 (diff) |
fix both compilation and previous fix : now 'basicstuff' passes again.
(Gael: i dont think you meant removing this setIdentity(), did you?)
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 5ceb02cb8..81c7cef0d 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -247,6 +247,7 @@ 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; |