From a62bd110a25aae0a2f898013f37bfb3ab379cc55 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 13 Sep 2008 10:44:23 +0000 Subject: [PATCH] fix doc compilation --- doc/snippets/MatrixBase_template_int.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/snippets/MatrixBase_template_int.cpp b/doc/snippets/MatrixBase_template_int.cpp index 4041a2214..6bee6d6c5 100644 --- a/doc/snippets/MatrixBase_template_int.cpp +++ b/doc/snippets/MatrixBase_template_int.cpp @@ -1,5 +1,5 @@ -RowVector5i v = RowVector5i::Random(); +RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.block<2>(1):" << endl << v.start<2>() << endl; +cout << "Here is v.block<2>(1):" << endl << v.block<2>(1) << endl; v.block<2>(2).setZero(); cout << "Now the vector v is:" << endl << v << endl;