From c3f6fcf2c074836047862c08e06f5c386bcbd4e3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 15 Nov 2019 11:12:35 +0100 Subject: bug #1747: one more fix for MSVC regarding the Bessel implementation. --- unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/src') 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 { generic_i1::run(x), plog(pmul(pset1(0.5), x)), x_le_two); x_le_two = pselect(pcmp_le(x, pset1(0.0)), MAXNUM, x_le_two); T x_gt_two = pmul( - pexp(-x), + pexp(pnegate(x)), pmul( internal::pchebevl::run( psub(pdiv(pset1(8.0), x), two), B), -- cgit v1.2.3