aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-12-30 04:52:20 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-12-30 04:52:20 -0500
commit26c2afd55a16b2868e6776797e33c11bd28f3ffc (patch)
tree483d2184afa001ecf45e9f6fa8414bb356e97d0b /doc/snippets
parentdbd9c5fd50cde5d5beaae44147eca3ba11934721 (diff)
fix compile errors in Tridiagonalization and in doc examples
Diffstat (limited to 'doc/snippets')
-rw-r--r--doc/snippets/Tridiagonalization_diagonal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/Tridiagonalization_diagonal.cpp b/doc/snippets/Tridiagonalization_diagonal.cpp
index a4a5a9c5a..6eec82169 100644
--- a/doc/snippets/Tridiagonalization_diagonal.cpp
+++ b/doc/snippets/Tridiagonalization_diagonal.cpp
@@ -4,7 +4,7 @@ cout << "Here is a random self-adjoint 4x4 matrix:" << endl << A << endl << endl
Tridiagonalization<MatrixXcd> triOfA(A);
MatrixXd T = triOfA.matrixT();
-cout << "The tridiagonal matrix T is:" << endl << triOfA.matrixT() << endl << endl;
+cout << "The tridiagonal matrix T is:" << endl << T << endl << endl;
cout << "We can also extract the diagonals of T directly ..." << endl;
VectorXd diag = triOfA.diagonal();