2008/5/28 Charles R Harris <[EMAIL PROTECTED]>: > It's shape related. > > In [7]: x = numpy.random.rand(5,2) > > In [8]: y = ones((5,2)) > > In [9]: x.cumsum(None,out=y) > Out[9]: > array([[ 0.76943981, 1. ], > [ 1.12678411, 1. ], > [ 1.69498328, 1. ], > [ 2.50560628, 1. ], > [ 3.23050034, 1. ]])
Yes, that first column doesn't stop there :) So, would it work to use a flattened view on the array in ufuncobject.c? Regards Stéfan _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion