diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-10-14 22:50:23 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-10-14 22:50:23 +0200 |
commit | 39fb9eeccf2e79542acad9bbf5196e462c1b2cee (patch) | |
tree | 5be017d5178afbeb249fe68866c607ec901f51a2 /unsupported/Eigen/src | |
parent | a411e9f344a354673b72a490433cf3cc2148ddf1 (diff) |
bug #1747: fix compilation with MSVC
Diffstat (limited to 'unsupported/Eigen/src')
-rw-r--r-- | unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h index 6d7c8bf7e..856caafa0 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h @@ -668,7 +668,7 @@ struct generic_k0<T, float> { x_le_two = pselect(pcmp_le(x, pset1<T>(0.0)), MAXNUM, x_le_two); T x_gt_two = pmul( pmul( - pexp(-x), + pexp(pnegate(x)), internal::pchebevl<T, 10>::run( psub(pdiv(pset1<T>(8.0), x), two), B)), prsqrt(x)); |