mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-23 06:43:13 +08:00
Add missing 'f' in float literal in SpecialFunctionsImpl.h that triggers implicit conversion warning.
This commit is contained in:
parent
3f3ce214e6
commit
1e223a956c
@ -324,7 +324,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T generic_fast_erf_float(const T& a_x) {
|
|||||||
const T beta_6 = pset1<T>(0.014070470171167667f);
|
const T beta_6 = pset1<T>(0.014070470171167667f);
|
||||||
const T beta_8 = pset1<T>(0.0010179625278914885f);
|
const T beta_8 = pset1<T>(0.0010179625278914885f);
|
||||||
const T beta_10 = pset1<T>(0.000023547966471313185f);
|
const T beta_10 = pset1<T>(0.000023547966471313185f);
|
||||||
const T beta_12 = pset1<T>(-1.1791602954361697e-7);
|
const T beta_12 = pset1<T>(-1.1791602954361697e-7f);
|
||||||
|
|
||||||
// Since the polynomials are odd/even, we need x^2.
|
// Since the polynomials are odd/even, we need x^2.
|
||||||
const T x2 = pmul(x, x);
|
const T x2 = pmul(x, x);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user