[SciPy-dev] bug(?) in scipy.sparse

Ed Schofield schofield at ftw.at
Tue Dec 6 12:08:14 CST 2005


Andrew Straw wrote:

>This stops my test from failing -- I'm not completely sure it stops the
>bug because I'm not sure what the col_ptr vector of a CSC matrix expects
>after the last real data. I assume here it is the number of non-zero
>elements.
>  
>
Yes, that's the convention we're using...

Thanks very much for the bug report and the patch!  I've committed it, 
along with your test and a similar fix for dok_matrix.tocsr().

Best wishes,
-- Ed




More information about the Scipy-dev mailing list