[New-bugs-announce] [issue26596] numpy.all np.all .all

Jose report at bugs.python.org
Sun Mar 20 19:33:48 EDT 2016


New submission from Jose:

the numpy.all function does not work.
I created 
A = np.random.random((10,1))
np.all(A)<1 gives me False, which is wrong!
and
B = 2 * A
np.all(B)<2 gives me True, which is correct!

also np.sum(A) < 10, gives me True, which is correct!

----------
components: Macintosh
files: Screen Shot 2016-03-20 at 4.33.22 PM.png
messages: 262093
nosy: JoseLight, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: numpy.all np.all .all
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file42226/Screen Shot 2016-03-20 at 4.33.22 PM.png

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26596>
_______________________________________


More information about the New-bugs-announce mailing list