[Numpy-discussion] Corner case complex log error.

Pauli Virtanen pav at iki.fi
Tue Jul 22 15:57:00 EDT 2008


Tue, 22 Jul 2008 00:34:46 -0600, Charles R Harris wrote:
>
> FAIL: test_umath.TestC99.test_clog(<ufunc 'log'>, (-0.0, -0.0), (-inf,
> -0.0), 'divide')
> AssertionError: ('(-inf, 3.1415926535897931)', '(-inf, 0.0)')

The interesting thing is that there is no test like this
in test_umath.py. The closest thing is the second test in test_clog,
which is (+0., 0.), (-inf, 0.). Does this vanish if you comment it out?

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list