[Numpy-discussion] bug?

verveer at embl.de verveer at embl.de
Fri Sep 5 11:47:02 CDT 2003


possible bug? 
 
>>> a = array([[[1, 1], [0, 1]]]) 
>>> print logical_or.reduce(a, 0) 
[[1 0] 
 [1 1]] 
 
should be: 
 
>>> print a[0, ...] 
[[1 1] 
 [0 1]] 
 
Cheers, Peter 
-- 
Dr. Peter J. Verveer 
Cell Biology and Cell Biophysics Programme 
EMBL 
Meyerhofstrasse 1 
D-69117 Heidelberg 
Germany 
Tel. : +49 6221 387245 
Fax  : +49 6221 387242 
 




More information about the Numpy-discussion mailing list