diff --git a/third_party/eigen3/gpu_packet_math.patch b/third_party/eigen3/gpu_packet_math.patch index 21e4f196cee..9771205af81 100644 --- a/third_party/eigen3/gpu_packet_math.patch +++ b/third_party/eigen3/gpu_packet_math.patch @@ -22,3 +22,14 @@ return res; } }; +--- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h ++++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +@@ -590,7 +590,7 @@ + + 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),