scipy/scipy — pull request #2701 by matthew-brett (2013-08-07 21:36:18+00:00)
Title: BF: fix error saving zero entries in sparse matrix

I assumed obj.size was the same as np.prod(obj.shape), but this isn't so for
sparse matrices. Fix and test.

Closes gh-2700