|
From: Francesc A. <fa...@ca...> - 2006-01-16 11:37:28
|
Hi,
I've downloaded a fresh SVN version of numpy (0.9.4.1914) and got a bit
surprised becuase of this:
>>> numpy.reshape(numpy.array((22,)), (1,)*20)
array([[[[[[[[[[[[[[[[[[[[22]]]]]]]]]]]]]]]]]]]])
>>> numpy.reshape(numpy.array((22,)), (1,)*21)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/numpy/core/oldnumeric.py", line
164, in reshape
return asarray(a).reshape(newshape)
ValueError: sequence too large; must be smaller than 20
Before, I think numpy supported up to 32 dimensions. Is there any reason
for this new limit? Just curious.
Cheers,
--=20
>0,0< Francesc Altet http://www.carabos.com/
V V C=E1rabos Coop. V. Enjoy Data
"-"
|