[Scipy-tickets] [SciPy] #592: Bug in Numpy version 1.0.4, at line 154 in file "function_base.py".

SciPy scipy-tickets@scipy....
Tue Jan 22 10:26:43 CST 2008


#592: Bug in Numpy version 1.0.4, at line 154 in file "function_base.py".
-----------------------+----------------------------------------------------
 Reporter:  escattone  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  0.7     
Component:  Other      |     Version:          
 Severity:  normal     |    Keywords:          
-----------------------+----------------------------------------------------
 I'm not sure if this is the correct place to report this, but I was
 directed here.

 There is a bug in Numpy version 1.0.4, at line 154 in file
 "function_base.py".

 Change from:
         "if(any(bins[1:]-bins[:-1] < 0)):"
 to something like:
         "if(any(((next - prev) < 0 for next, prev in zip(bins[1:],
 bins[:-1])))):"

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/592>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list