[SciPy-User] nan handling by scipy.optimize

Pauli Virtanen pav@iki...
Wed Jul 25 17:07:35 CDT 2012

Alan G Isaac <alan.isaac <at> gmail.com> writes:
> Has there been any recent change in nan handling in scipy.optimize?
> I'm using a very recent EPD distribution, and a student
> is using a release with Python 2.6.5.  I'm getting a
> zero returned by brentq and bisect when (iiuc) the function
> evaluation produces a nan, while he is not.
> The search interval is bounded away from zero.

There are no code changes in Scipy 0.8.0b1...v0.10.1 (which are
the versions I guess apply for your issue, please clarify) for
the `bisect` and `brentq` routines.

Pauli Virtanen

More information about the SciPy-User mailing list