more fixes

This commit is contained in:
Gael Guennebaud
2009-12-17 10:43:46 +01:00
parent 34c95029ca
commit 30d47860dd
5 changed files with 13 additions and 13 deletions

View File

@@ -334,7 +334,7 @@ bool SparseLDLT<MatrixType, Backend>::solveInPlace(MatrixBase<Derived> &b) const
if (m_matrix.nonZeros()>0) // otherwise L==I
m_matrix.template triangularView<UnitLowerTriangular>().solveInPlace(b);
b = b.cwise() / m_diag;
b = b.cwiseQuotient(m_diag);
// FIXME should be .adjoint() but it fails to compile...
if (m_matrix.nonZeros()>0) // otherwise L==I