
21 Jul
2008
21 Jul
'08
8:07 p.m.
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'

21 Jul
21 Jul
9:12 p.m.
Charles, Thx for the report, should be fixed in r5492/5493 (I've been overoptimistic with r5490/5491)...
5430
Age (days ago)
5430
Last active (days ago)
1 comments
2 participants
participants (2)
-
Charles Doutriaux
-
Pierre GM