From 02f76dae2d34a76bcdb789244fb9ed8a0ca316b1 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 11 May 2016 15:08:38 -0700 Subject: [PATCH] Fixed a typo --- Eigen/src/Core/arch/CUDA/PacketMathHalf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h index 8873d5357..baaf15003 100644 --- a/Eigen/src/Core/arch/CUDA/PacketMathHalf.h +++ b/Eigen/src/Core/arch/CUDA/PacketMathHalf.h @@ -191,7 +191,7 @@ template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmadd(const half2& float b2 = __high2float(b); float c1 = __low2float(c); float c2 = __high2float(c); - float r1 = a1 * b1 + c2; + float r1 = a1 * b1 + c1; float r2 = a2 * b2 + c2; return __floats2half2_rn(r1, r2); #endif