From 75f87ccdadf9a8004900eee122c6582830dacf25 Mon Sep 17 00:00:00 2001 From: Brian Zhao Date: Fri, 4 Oct 2019 18:05:59 -0700 Subject: [PATCH] Adding additional patch containing https://bitbucket.org/eigen/eigen/commits/b1584138e9c489a58168c2f98cabb7f847a68bb5 to eigen PiperOrigin-RevId: 272995056 --- third_party/eigen3/gpu_packet_math.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) 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),