From 9a0900e33e9ca4bc174cfccc26dbf4bdc38f7627 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 9 Nov 2009 07:51:31 -0500 Subject: last round of changes, mainly to return derived types instead of base types, and fix various compilation issues --- doc/snippets/FullPivLU_solve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/snippets/FullPivLU_solve.cpp') diff --git a/doc/snippets/FullPivLU_solve.cpp b/doc/snippets/FullPivLU_solve.cpp index 696f414b3..c1f88235e 100644 --- a/doc/snippets/FullPivLU_solve.cpp +++ b/doc/snippets/FullPivLU_solve.cpp @@ -2,7 +2,7 @@ Matrix m = Matrix::Random(); Matrix2f y = Matrix2f::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the matrix y:" << endl << y << endl; -Matrix x = m.fillPivLu().solve(y); +Matrix x = m.fullPivLu().solve(y); if((m*x).isApprox(y)) { cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; -- cgit v1.2.3