fix doc compilation

This commit is contained in:
Gael Guennebaud 2008-09-13 10:44:23 +00:00
parent e5c50afed6
commit a62bd110a2

View File

@ -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;