mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fixed a typo
This commit is contained in:
parent
131e5a1a4a
commit
02f76dae2d
@ -191,7 +191,7 @@ template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pmadd<half2>(const half2&
|
|||||||
float b2 = __high2float(b);
|
float b2 = __high2float(b);
|
||||||
float c1 = __low2float(c);
|
float c1 = __low2float(c);
|
||||||
float c2 = __high2float(c);
|
float c2 = __high2float(c);
|
||||||
float r1 = a1 * b1 + c2;
|
float r1 = a1 * b1 + c1;
|
||||||
float r2 = a2 * b2 + c2;
|
float r2 = a2 * b2 + c2;
|
||||||
return __floats2half2_rn(r1, r2);
|
return __floats2half2_rn(r1, r2);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user