mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Use numext::abs instead of abs to avoid incorrect conversion to integer of the argument
This commit is contained in:
parent
41434a8a85
commit
2e4e4cb74d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user