From d7e3c949be71dd26e4554547ebb0aa3673a1ec47 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Mon, 9 May 2011 22:20:20 +0100 Subject: Implement and document MatrixBase::sqrt(). --- unsupported/test/matrix_square_root.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'unsupported/test/matrix_square_root.cpp') diff --git a/unsupported/test/matrix_square_root.cpp b/unsupported/test/matrix_square_root.cpp index 56b86a288..83b130c9a 100644 --- a/unsupported/test/matrix_square_root.cpp +++ b/unsupported/test/matrix_square_root.cpp @@ -60,9 +60,7 @@ void testMatrixSqrt(const MatrixType& m) { MatrixType A; generateTestMatrix::run(A, m.rows()); - MatrixSquareRoot msr(A); - MatrixType sqrtA; - msr.compute(sqrtA); + MatrixType sqrtA = A.sqrt(); VERIFY_IS_APPROX(sqrtA * sqrtA, A); } -- cgit v1.2.3