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'

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to