[Numpy-discussion] is this a bug?
pontifor at yahoo.com
Fri Aug 26 10:26:48 CDT 2005
>>> from numarray import *
>>> x = ones(22400,Float)
>>> print add.reduce(x)
>>> print add.reduce(x!=0)
>>> print add.reduce((x!=0).astype(Int))
it seems like the boolean result of the expression ( middle try )
causes a problem?
Start your day with Yahoo! - make it your home page
More information about the Numpy-discussion