diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-08-08 21:20:14 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-08-08 21:20:14 +0100 |
commit | 530b3287695e136269eb10c553bb90392ef9a6ba (patch) | |
tree | 3feac782fcac7c0c7a4183c3b8b426c6c3b74ea5 /doc/snippets | |
parent | 3dd822586288ae14ef5cecef166a54c803d355a8 (diff) |
Aliasing doc: explain that some cases are detected, reverse order examples.
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/TopicAliasing_block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/TopicAliasing_block.cpp b/doc/snippets/TopicAliasing_block.cpp index 9e897d01c..7d40cfafd 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); |