aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2019-11-15 11:12:35 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2019-11-15 11:12:35 +0100
commitc3f6fcf2c074836047862c08e06f5c386bcbd4e3 (patch)
tree385146fa3929a341e0ca87b8dd99b3127974b3b9 /unsupported/Eigen/src
parentb9837ca9aeccb933e410102125fcd475e6cbcada (diff)
bug #1747: one more fix for MSVC regarding the Bessel implementation.
Diffstat (limited to 'unsupported/Eigen/src')
-rw-r--r--unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h
index 856caafa0..a9b6ad940 100644
--- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h
+++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h
@@ -991,7 +991,7 @@ struct generic_k1<T, float> {
generic_i1<T, float>::run(x), plog(pmul(pset1<T>(0.5), x)), x_le_two);
x_le_two = pselect(pcmp_le(x, pset1<T>(0.0)), MAXNUM, x_le_two);
T x_gt_two = pmul(
- pexp(-x),
+ pexp(pnegate(x)),
pmul(
internal::pchebevl<T, 10>::run(
psub(pdiv(pset1<T>(8.0), x), two), B),