fix complex conjugate for double-complex (#1659)

The sign in the y component returned from hipConj incorrect for double-complex. Fix to match as in hipConjf above.
This commit is contained in:
Nick Curtis
2019-11-18 00:49:12 -06:00
zatwierdzone przez Maneesh Gupta
rodzic b865a50e44
commit 3f2316086f
+1 -1
Wyświetl plik
@@ -186,7 +186,7 @@ __device__ __host__ static inline hipDoubleComplex make_hipDoubleComplex(double
__device__ __host__ static inline hipDoubleComplex hipConj(hipDoubleComplex z) {
hipDoubleComplex ret;
ret.x = z.x;
ret.y = z.y;
ret.y = -z.y;
return ret;
}