Bugzilla – Bug 1175
SparseMatrix with non-default Index type fails when converting to Matrix (throws bad_alloc because it changes internal index from int to non-default index)
Last modified: 2016-03-01 14:04:30 UTC
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.
Summary: Bug 1175: fix Index type conversion from sparse to dense.