diff options
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; |