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 <rep...@bugs.python.org> <http://bugs.python.org/issue26596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com