From 3428d80d20fb0a6e1a3f7f19b51f98927935e255 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Tue, 6 Jul 2010 10:48:25 +0100 Subject: Small changes to tutorial page 1. --- doc/snippets/Tutorial_commainit_01.cpp | 2 +- doc/snippets/tut_matrix_assignment_resizing.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/snippets') 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; -- cgit v1.2.3