From 39fb9eeccf2e79542acad9bbf5196e462c1b2cee Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 14 Oct 2019 22:50:23 +0200 Subject: bug #1747: fix compilation with MSVC --- 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 6d7c8bf7e..856caafa0 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h @@ -668,7 +668,7 @@ struct generic_k0 { x_le_two = pselect(pcmp_le(x, pset1(0.0)), MAXNUM, x_le_two); T x_gt_two = pmul( pmul( - pexp(-x), + pexp(pnegate(x)), internal::pchebevl::run( psub(pdiv(pset1(8.0), x), two), B)), prsqrt(x)); -- cgit v1.2.3