[Numpy-discussion] bug in oldnumeric module

Scott Ransom sransom at nrao.edu
Fri Sep 22 13:36:48 EDT 2006


argmin is currently defined as using the argmax method!

From numpy/oldnumeric/functions.py

def argmin(x, axis=-1):
    return N.argmax(x, axis)

Scott

-- 
Scott M. Ransom            Address:  NRAO
Phone:  (434) 296-0320               520 Edgemont Rd.
email:  sransom at nrao.edu             Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989




More information about the NumPy-Discussion mailing list