commit | 530b3287695e136269eb10c553bb90392ef9a6ba | [log] [tgz] |
---|---|---|
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | Sun Aug 08 21:20:14 2010 +0100 |
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | Sun Aug 08 21:20:14 2010 +0100 |
tree | 3feac782fcac7c0c7a4183c3b8b426c6c3b74ea5 | |
parent | 3dd822586288ae14ef5cecef166a54c803d355a8 [diff] [blame] |
Aliasing doc: explain that some cases are detected, reverse order examples.
diff --git a/doc/snippets/TopicAliasing_block.cpp b/doc/snippets/TopicAliasing_block.cpp index 9e897d0..7d40cfa 100644 --- a/doc/snippets/TopicAliasing_block.cpp +++ b/doc/snippets/TopicAliasing_block.cpp
@@ -1,4 +1,4 @@ -Matrix3i mat; +MatrixXi mat(3,3); mat << 1, 2, 3, 4, 5, 6, 7, 8, 9; cout << "Here is the matrix mat:\n" << mat << endl; mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2);