mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Tiny bugfix in SpecialFunctions: some compilers don't like doubles
implicitly downcast to floats in an array constructor.
This commit is contained in:
parent
8cc9232b9a
commit
06a2bc7c9c
@ -182,10 +182,10 @@ struct digamma_impl_maybe_poly<float> {
|
||||
EIGEN_DEVICE_FUNC
|
||||
static EIGEN_STRONG_INLINE float run(const float s) {
|
||||
const float A[] = {
|
||||
-4.16666666666666666667E-3,
|
||||
3.96825396825396825397E-3,
|
||||
-8.33333333333333333333E-3,
|
||||
8.33333333333333333333E-2
|
||||
-4.16666666666666666667E-3f,
|
||||
3.96825396825396825397E-3f,
|
||||
-8.33333333333333333333E-3f,
|
||||
8.33333333333333333333E-2f
|
||||
};
|
||||
|
||||
float z;
|
||||
|
Loading…
x
Reference in New Issue
Block a user