compilation fix

This commit is contained in:
Gael Guennebaud 2010-06-13 22:53:53 +02:00
parent eb95c57a9f
commit f159613210

View File

@ -167,7 +167,7 @@ class SparseInnerVectorSet<DynamicSparseMatrix<_Scalar, _Options>, Size>
Index nonZeros() const
{
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();
return count;
}