From 20c4a9118f7a56833606023f7495134d80bb7ac6 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 4 Oct 2019 16:54:03 -0700 Subject: [PATCH] Use "pdiv" rather than operator/ to support packet types. --- unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h index 56023508c..fe3f6d710 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h @@ -590,7 +590,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T generic_ndtri_lt_exp_neg_two( x = psqrt(pmul(neg_two, plog(b))); x0 = psub(x, pdiv(plog(x), x)); - z = one / x; + z = pdiv(one, x); x1 = pmul( z, pselect( pcmp_lt(x, eight),