[SciPy-dev] scipy.minimum on complex numbers returns junk

Pearu Peterson pearu at scipy.org
Thu Oct 13 04:55:09 CDT 2005


Hi,

I'd like to report an odd behaviour when finding scipy.minimum on complex 
numbers:
In [2]: scipy.minimum(1,2j)   # should return 2j
Out[2]: 6.6869516415167017e-316j

In [3]: scipy.minimum(-1,2j)  # should return -1
Out[3]: (-1+7.7025147686483706j)

Pearu




More information about the Scipy-dev mailing list