Use "pdiv" rather than operator/ to support packet types.

This commit is contained in:
Rasmus Munk Larsen 2019-10-04 16:54:03 -07:00
parent d1dd51cb5f
commit 20c4a9118f

View File

@ -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),