sparse module: some trivial bugfixes

This commit is contained in:
Gael Guennebaud
2008-10-19 17:07:20 +00:00
parent 76fe2e1b34
commit 64f7fbe3f2
4 changed files with 5 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ void SparseLLT<MatrixType,Backend>::compute(const MatrixType& a)
}
for (int k=0; k<j+1; ++k)
{
typename MatrixType::InnerIterator it(m_matrix, k);
typename CholMatrixType::InnerIterator it(m_matrix, k);
while (it && it.index()<j)
++it;
if (it && it.index()==j)