diff options
Diffstat (limited to 'doc/snippets/MatrixBase_start_int.cpp')
-rw-r--r-- | doc/snippets/MatrixBase_start_int.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/snippets/MatrixBase_start_int.cpp b/doc/snippets/MatrixBase_start_int.cpp index eb43a5dc7..c261d2b4e 100644 --- a/doc/snippets/MatrixBase_start_int.cpp +++ b/doc/snippets/MatrixBase_start_int.cpp @@ -1,5 +1,5 @@ RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.start(2):" << endl << v.start(2) << endl; -v.start(2).setZero(); +cout << "Here is v.head(2):" << endl << v.head(2) << endl; +v.head(2).setZero(); cout << "Now the vector v is:" << endl << v << endl; |