|
From: Todd M. <jm...@st...> - 2005-09-22 16:41:39
|
Thanks Nadav. This is fixed in CVS. Regards, Todd Nadav Horesh wrote: >It seems that the tostring method fails on rank 0 arrays: > >a = N.array(-4) > > >>>>a >>>> >>>> >array(-4) > > >>>>a.tostring() >>>> >>>> > >Traceback (most recent call last): > File "<pyshell#18>", line 1, in -toplevel- > a.tostring() > File "/usr/local/lib/python2.4/site-packages/numarray/generic.py", >line 746, in tostring > self._strides, self._itemsize) >MemoryError > > >>>>N.__version__ >>>> >>>> >'1.4.0' > > > Nadav. > > > |