diff options
author | Michael Figurnov <mfigurnov@google.com> | 2018-06-07 12:03:58 +0100 |
---|---|---|
committer | Michael Figurnov <mfigurnov@google.com> | 2018-06-07 12:03:58 +0100 |
commit | 5172a32849a310d8942273da307309721dc37c3f (patch) | |
tree | d4b482b1b1eec7e9425f141b3f62cf6894d4b4a6 /Eigen/src/Core/arch/AVX | |
parent | 4bd158fa37b4bba74e6421575d5c69eeea547172 (diff) |
Updated the stopping criteria in igammac_cf_impl.
Previously, when computing the derivative, it used a relative error threshold. Now it uses an absolute error threshold. The behavior for computing the value is unchanged. This makes more sense since we do not expect the derivative to often be close to zero. This change makes the derivatives about 30% faster across the board. The error for the igamma_der_a is almost unchanged, while for gamma_sample_der_alpha it is a bit worse for float32 and unchanged for float64.
Diffstat (limited to 'Eigen/src/Core/arch/AVX')
0 files changed, 0 insertions, 0 deletions