diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-09-13 10:44:23 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-09-13 10:44:23 +0000 |
commit | a62bd110a25aae0a2f898013f37bfb3ab379cc55 (patch) | |
tree | ca06e252d613f2147a10a5bdae81c9c459a507db /doc/snippets | |
parent | e5c50afed6f0d7af099ea4a87a160451a706a186 (diff) |
fix doc compilation
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/MatrixBase_template_int.cpp | 4 |
1 files 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; |