aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Cholesky
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-08-18 22:17:42 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-08-18 22:17:42 +0000
commit95dd09bea62010ba3aba36d4833a3cd1594a2372 (patch)
tree40c7e490d0f1cd4b733011d9a4d4fb22fc42decd /Eigen/src/Cholesky
parente778ae2559a37b65e9bdd6df687032e33c505cc4 (diff)
* revert the previous interface change in solveTriangular (pointer vs reference)
* remove the cast operators in the Geometry module: they are replaced by constructors and new operator= in Matrix * extended the operations supported by Rotation2D * rewrite in solveTriangular: - merge the Upper and Lower specializations - big optimization of the path for row-major triangular matrices
Diffstat (limited to 'Eigen/src/Cholesky')
-rw-r--r--Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h b/Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h
index 6cf5d84c2..b00dc0a11 100644
--- a/Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h
+++ b/Eigen/src/Cholesky/CholeskyWithoutSquareRoot.h
@@ -149,7 +149,7 @@ typename Derived::Eval CholeskyWithoutSquareRoot<MatrixType>::solve(const Matrix
return m_matrix.adjoint().template part<UnitUpper>()
.solveTriangular(
- ( m_matrix.cwise().inverse().diagonal().asDiagonal()
+ ( m_matrix.cwise().inverse().template part<Diagonal>()
* matrixL().solveTriangular(b))
);
}