Created attachment 604 [details]
Test with Ref<SparseMatrix/SparseVector>
In the Eigen 3.3-alpha1 pre-release, I noticed that support for Ref<SparseMatrix> was added (which is greatly appreciated!). While doing a quick check to see if one of our projects, RobOptim (http://www.roboptim.net/), was working with the changes made to Eigen (we rely heavily on Eigen features such as Ref, sparse matrices/vectors etc.), I realized that Ref<SparseVector> is currently not possible. Is that a known issue/missing feature part of a to-do list? It may be worth adding to the changelog, since people may wrongly assume that Ref<SparseMatrix> support implies Ref<SparseVector> support.
Nonetheless, thanks for the great work on that new release!
Thank you for the report. The truth is that I always forgot about SparseVector (not really useful IMO), but yes, Ref<SparseVector> is indeed useful to access to "inner-vectors" of a sparse matrix. So we should add support for it (and Map<SparseVector> too)
Fixed in changeset 7755655e28d6