[SciPy-user] ValueError: need more than 1 value to unpack

Travis Oliphant oliphant.travis at ieee.org
Fri Mar 17 03:19:16 CST 2006


Nils Wagner wrote:
>>   
>>     
> BTW, dtype=complex256 aka dtype=Complex128 doesn't work in this context.
>
> Who can confirm this behaviour on a 64bit system ?
>
> A_csc = s.csc_matrix((3,3),dtype=complex256)
>
> for i in arange(0,3):
>
>     A_csc[i,i] = 1.0+2j
>
> print A_csc
>   

In order to have complex256 defined, the long double on your machine 
would have to translate to 16-bytes (I don't think that's even true on 
64-bit systems is it?). 

-Travis



More information about the SciPy-user mailing list