|
From: Francesc A. <fa...@ca...> - 2005-11-11 08:50:20
|
Hi,
I've checked CVS numarray today and yes, the problem with strided arrays
seems to be gone. It does remain some small (I think) issue:
>>> import Numeric;Numeric.__version__
'24.1'
>>> import numarray;numarray.__version__
'1.4.2'
>>> num=3DNumeric.array([0.,1.])
>>> na=3Dnumarray.zeros(shape=3D2)
>>> na[...] =3D num
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: NA_DescrFromType: unknown type: -1
and also:
>>> numarray.array(num)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/numarray/numarraycore.py", line
359, in array
a =3D _numarray._array_from_array_struct(sequence.__array_struct__)
TypeError: NA_DescrFromType: unknown type: -1
Regards,
--=20
>0,0< Francesc Altet http://www.carabos.com/
V V C=E1rabos Coop. V. Enjoy Data
"-"
|