|
From: Nadav H. <Na...@Vi...> - 2005-09-14 11:13:35
|
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.
|