FYI: https://github.com/scipy/scipy/pull/442 If you're interested in sparse matrices with nnz > 2**31, if you can play around with the above code, it would be appreciated. -- Pauli Virtanen