[SciPy-dev] Possibly bug in sparse.py

Travis Oliphant oliphant.travis at ieee.org
Tue Feb 14 14:48:02 EST 2006


Robert Cimrman wrote:

>e note, not directly related to your problem:
>
>Another bug in the coo_matrix() constructor is that it does not work for 
>all value types (e.g. int32), because some dtypes are probably missing 
>in the type translation table of sparse.py - can someone (Travis? :) 
>help with this? I have followed the recent changes to the dtype object 
>only superficially...
>  
>

This has never worked because the conversion to csc_matrix is not 
supported for anything but the four basic data types. 

We could fix the constructor so that the array could be constructed, 
though, and only raise an error when a conversion is attempted. 

-Travis





More information about the SciPy-Dev mailing list