diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-07-06 10:48:25 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-07-06 10:48:25 +0100 |
commit | 3428d80d20fb0a6e1a3f7f19b51f98927935e255 (patch) | |
tree | 79b0cb5db64ec490fcb2574783363fe6061fdc5d /doc/snippets | |
parent | d849bc440173dbe641a19f8d92cf6d33fdcf5afe (diff) |
Small changes to tutorial page 1.
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/Tutorial_commainit_01.cpp | 2 | ||||
-rw-r--r-- | doc/snippets/tut_matrix_assignment_resizing.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/snippets/Tutorial_commainit_01.cpp b/doc/snippets/Tutorial_commainit_01.cpp index e3098cedb..47ba31dc9 100644 --- a/doc/snippets/Tutorial_commainit_01.cpp +++ b/doc/snippets/Tutorial_commainit_01.cpp @@ -2,4 +2,4 @@ Matrix3f m; m << 1, 2, 3, 4, 5, 6, 7, 8, 9; -cout << m; +std::cout << m; diff --git a/doc/snippets/tut_matrix_assignment_resizing.cpp b/doc/snippets/tut_matrix_assignment_resizing.cpp index 96b3c88d3..cf189983f 100644 --- a/doc/snippets/tut_matrix_assignment_resizing.cpp +++ b/doc/snippets/tut_matrix_assignment_resizing.cpp @@ -1,5 +1,5 @@ MatrixXf a(2,2); -cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl; +std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl; MatrixXf b(3,3); a = b; -cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl; +std::cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl; |