From 02ba4e2f54cf4a6d5434274cef92d03d296cd82b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 27 Jan 2009 17:46:02 +0000 Subject: [PATCH] backport compilation fix --- doc/snippets/MatrixBase_part.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/snippets/MatrixBase_part.cpp b/doc/snippets/MatrixBase_part.cpp index 1abbd6888..6f393a14a 100644 --- a/doc/snippets/MatrixBase_part.cpp +++ b/doc/snippets/MatrixBase_part.cpp @@ -1,4 +1,4 @@ -Matrix3d m = Matrix3i::Zero(); +Matrix3d m = Matrix3d::Zero(); m.part().setOnes(); cout << "Here is the matrix m:" << endl << m << endl; cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl