transposeSparseMatrix invalid with empty matrix
Opened this issue · 0 comments
dbregman commented
The early out branch if (M->nnz == 0) return A;
produces incorrect results (A is uninitialized at this point). I think this line can simply be removed.