[SciPy-User] Question on scipy.special.gammaincc
Pauli Virtanen
pav at iki.fi
Wed May 25 05:28:44 EDT 2011
Tue, 24 May 2011 21:59:29 -0400, Skipper Seabold wrote:
[clip]
> Indeed. For the time being, would a patch to return nan be useful? I
> don't see how to correctly raise exceptions from C, unless someone has a
> pointer to an example.
A patch would be useful. In addition to returning `nan`, call
mtherr("gammaincc", DOMAIN)
from "cephes/mconf.h", which will raise a warning (and maybe an error)
depending on what the user has set up.
Pauli
More information about the SciPy-User
mailing list