From c8a2b4d20a162dc2527425f40cf7df95db5ba428 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Mon, 21 Jun 2021 19:06:04 +0000 Subject: [PATCH] Fix typo in SelfAdjointEigenSolver_eigenvectors.cpp --- doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp b/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp index cfc8b0d54..94b0d6ebd 100644 --- a/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp @@ -1,4 +1,4 @@ MatrixXd ones = MatrixXd::Ones(3,3); SelfAdjointEigenSolver es(ones); cout << "The first eigenvector of the 3x3 matrix of ones is:" - << endl << es.eigenvectors().col(1) << endl; + << endl << es.eigenvectors().col(0) << endl;