There is an incorrect pointer type in Map<SparseMatrix>.coeffRef().
It will not compile:
mat.coeffRef(i,j) = y;
The line in SparseMapBase::coeffRef(Index row, Index col):
Index* r = std::lower_bound(&Base::m_innerIndices[start],&Base::m_innerIndices[end],inner);
StorageIndex* r = std::lower_bound(&Base::m_innerIndices[start],&Base::m_innerIndices[end],inner);
Thanks for the report. Fixed:
Summary: Bug 1258: fix compilation of Map<SparseMatrix>::coeffRef
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1258.