mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-21 20:17:35 +08:00
Fix inner iterator type
This commit is contained in:
parent
4371911861
commit
a910a7466e
@ -126,7 +126,7 @@ void SimplicialCholeskyBase<Derived>::factorize_preordered(const CholMatrixType&
|
|||||||
Index top = size; // stack for pattern is empty
|
Index top = size; // stack for pattern is empty
|
||||||
tags[k] = k; // mark node k as visited
|
tags[k] = k; // mark node k as visited
|
||||||
m_nonZerosPerCol[k] = 0; // count of nonzeros in column k of L
|
m_nonZerosPerCol[k] = 0; // count of nonzeros in column k of L
|
||||||
for(typename MatrixType::InnerIterator it(ap,k); it; ++it)
|
for(typename CholMatrixType::InnerIterator it(ap,k); it; ++it)
|
||||||
{
|
{
|
||||||
Index i = it.index();
|
Index i = it.index();
|
||||||
if(i <= k)
|
if(i <= k)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user