[Numpy-discussion] ticket #1096

Pauli Virtanen pav at iki.fi
Tue Jun 16 14:47:44 EDT 2009


On 2009-06-16, Brian Lewis <brian.lewis17 at gmail.com> wrote:
> http://projects.scipy.org/numpy/ticket/1096
>
> Is the fix to this to check if (line 95 of
> trunk/numpy/core/src/umathmodule.c.src<http://projects.scipy.org/numpy/changeset/6000/trunk/numpy/core/src/umathmodule.c.src>
> )
>
>    const @type@ tmp = x - y;
>
> is -inf or not.  And if it is, just to return -inf.  

That's not the correct fix.

Anyway, fixed in r7059.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list