[Numpy-discussion] bug in ma ?
Charles Doutriaux
doutriaux1 at llnl.gov
Mon Jul 21 14:07:12 EDT 2008
Hello,
I think i found a bug in numpy.ma
I tried it both with the trunk and the 1.1 version
import numpy
a= numpy.ma.arange(256)
a.shape=(128,2)
b=numpy.reshape(a,(64,2,2))
Traceback (most recent call last):
File "quick_test_reshape.py", line 7, in <module>
b=numpy.reshape(a,(64,2,2))
File
"/lgm/cdat/latest/lib/python2.5/site-packages/numpy/core/fromnumeric.py",
line 116, in reshape
return reshape(newshape, order=order)
TypeError: reshape() got an unexpected keyword argument 'order'
More information about the NumPy-Discussion
mailing list