mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use numext::abs instead of abs to avoid incorrect conversion to integer of the argument
This commit is contained in:
@@ -576,7 +576,7 @@ struct igammac_impl {
|
||||
pkm1 = pk;
|
||||
qkm2 = qkm1;
|
||||
qkm1 = qk;
|
||||
if (abs(pk) > big) {
|
||||
if (numext::abs(pk) > big) {
|
||||
pkm2 *= biginv;
|
||||
pkm1 *= biginv;
|
||||
qkm2 *= biginv;
|
||||
|
||||
Reference in New Issue
Block a user