[Numpy-discussion] sum() and mean() broken?

Gary Ruben gazzar at email.com
Wed Jul 14 21:00:03 CDT 2004


I'm getting tracebacks on even the most basic sum() and mean() calls in numarray 1.0 under Windows. Apologies if this has already been reported.
Gary

>>> from numarray import *
>>> arange(10).sum()

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in -toplevel-
    arange(10).sum()
  File "C:\APPS\PYTHON23\Lib\site-packages\numarray\numarraycore.py", line 1106, in sum
    return ufunc.add.reduce(ufunc.add.areduce(self, type=type).flat, type=type)
error: Int32asInt64: buffer not aligned on 8 byte boundary.

-- 
_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 








More information about the Numpy-discussion mailing list