Clean-up of MatrixSquareRoot.

This commit is contained in:
Jitse Niesen
2013-07-22 13:56:15 +01:00
parent 463343fb37
commit 084dc63b4c
4 changed files with 164 additions and 263 deletions

View File

@@ -141,7 +141,7 @@ void MatrixLogarithmAtomic<MatrixType>::computeBig(const MatrixType& A, MatrixTy
break;
++numberOfExtraSquareRoots;
}
MatrixSquareRootTriangular<MatrixType>(T).compute(sqrtT);
matrix_sqrt_triangular(T, sqrtT);
T = sqrtT.template triangularView<Upper>();
++numberOfSquareRoots;
}