From c0b2aa0acef071385f085ad2a011cc748a8d5541 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 13 Jan 2010 17:51:09 +0100 Subject: Added some minor comments. Adapted some of the doc/snippets. --- doc/snippets/Tutorial_solve_triangular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/snippets/Tutorial_solve_triangular.cpp') diff --git a/doc/snippets/Tutorial_solve_triangular.cpp b/doc/snippets/Tutorial_solve_triangular.cpp index ff876f687..9d13f22ec 100644 --- a/doc/snippets/Tutorial_solve_triangular.cpp +++ b/doc/snippets/Tutorial_solve_triangular.cpp @@ -4,5 +4,5 @@ A << 1,2,3, 0,5,6, 0,0,10; b << 3, 3, 4; cout << "Here is the matrix A:" << endl << A << endl; cout << "Here is the vector b:" << endl << b << endl; -Vector3f x = A.triangularView().solve(b); +Vector3f x = A.triangularView().solve(b); cout << "The solution is:" << endl << x << endl; -- cgit v1.2.3