embotech/ecos

transposeSparseMatrix invalid with empty matrix

Opened this issue · 0 comments

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.