mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
compilation fix
This commit is contained in:
parent
eb95c57a9f
commit
f159613210
@ -167,7 +167,7 @@ class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options>, Size>
|
|||||||
Index nonZeros() const
|
Index nonZeros() const
|
||||||
{
|
{
|
||||||
Index count = 0;
|
Index count = 0;
|
||||||
for (Index j=0; j<m_outerSize; ++j)
|
for (Index j=0; j<m_outerSize.value(); ++j)
|
||||||
count += m_matrix._data()[m_outerStart+j].size();
|
count += m_matrix._data()[m_outerStart+j].size();
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user