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

Ed Schofield schofield at ftw.at
Fri Mar 17 03:41:18 CST 2006


On 17/03/2006, at 10:19 AM, Travis Oliphant wrote:

> 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?).


I think complex256 is defined on Nils's 64-bit machine.  Nils, is  
this true?

-- Ed



More information about the SciPy-user mailing list