From c436abd0ac9014156bf5e8d469a43b5c22bcc419 Mon Sep 17 00:00:00 2001 From: Thomas Capricelli Date: Mon, 18 Jan 2010 10:29:11 +0100 Subject: [PATCH] fix both compilation and previous fix : now 'basicstuff' passes again. (Gael: i dont think you meant removing this setIdentity(), did you?) --- Eigen/src/Core/MatrixBase.h | 1 + 1 file changed, 1 insertion(+) 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 class MatrixBase const DiagonalWrapper asDiagonal() const; Derived& setIdentity(); + Derived& setIdentity(int rows, int cols); bool isIdentity(RealScalar prec = dummy_precision()) const; bool isDiagonal(RealScalar prec = dummy_precision()) const;