[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
]
- To: eigen-commits@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen-commits] commit/eigen: rmlarsen: Improve robustness of igamma and igammac to bad inputs.
- From: Bitbucket <commits-noreply@xxxxxxxxxxxxx>
- Date: Thu, 22 Mar 2018 17:16:53 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=bitbucket.org; h=mime-version:content-type:content-transfer-encoding:subject:from:to; s=s1; bh=1qPnnPgeaA+yGQIpALOhjDSUBr0=; b=aK//husHE3BfCDVlaYBfRK3 ZJDWQG6YcBk8S2R7XUFVtHtfWrHuo+MFB/Y41O3zGUoe8SoXYXgdUbiOutJo3ts8 /L7jcP2wPdaT1B3B1MyyIS8apG4YnWcfVgMvfFC5b7d8iTQL2Kly+Yz4pqB4jzWO lqUw2I2SejNoxHcvD/9s=
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.