[eigen-commits] commit/eigen: rmlarsen: Improve robustness of igamma and igammac to bad inputs.

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen-commits Archives ]


1 new commit in eigen:

https://bitbucket.org/eigen/eigen/commits/65ffaf0685fa/
Changeset:   65ffaf0685fa
User:        rmlarsen
Date:        2018-03-19 16:04:54+00:00
Summary:     Improve robustness of igamma and igammac to bad inputs.

Check for nan inputs and propagate them immediately. Limit the number of internal iterations to 2000 (same number as used by scipy.special.gammainc). This prevents an infinite loop when the function is called with nan or very large arguments.

Original change by mfirgunov@xxxxxxxxxx
Affected #:  1 file

Repository URL: https://bitbucket.org/eigen/eigen/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/