Created attachment 662 [details] Test case to reproduce When trying to convert a SparseMatrix with non-default Index type to Matrix, the dense one changes its internal Index type. Attached test case to reproduce.
This is already fixed in devel branch because rows/cols always return Index type. For 3.2: https://bitbucket.org/eigen/eigen/commits/561623f5f81e/ Summary: Bug 1175: fix Index type conversion from sparse to dense.
-- 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/1175.