aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-05-11 15:08:38 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-05-11 15:08:38 -0700
commit02f76dae2d34a76bcdb789244fb9ed8a0ca316b1 (patch)
tree629ac9e30e3e459710f210dcca6335f65184b5d6 /Eigen/src/Core
parent131e5a1a4a50b11b386dd8aa3408d3baa1e9d1b5 (diff)
Fixed a typo
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/arch/CUDA/PacketMathHalf.h2
1 files changed, 1 insertions, 1 deletions
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<half2>(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