Re: [eigen] Obtaining triplets from sparsematrix

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Another thing, the example should be changed from
SparseMatrix<double>::InnerIterator
to
typename SparseMatrix<double>::InnerIterator
at least that's what gcc says.

not in this case, only if you write typename SparseMatrix<Scalar>::InnerIterator with Scalar a template typename.
Correct.
Why is this rule necessary? When should we use typename?

  Mathieu


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/