diff --git a/projects/clr/hipamd/include/hip/amd_detail/hip_complex.h b/projects/clr/hipamd/include/hip/amd_detail/hip_complex.h index 9acd0d3d0d..4a59b52a54 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/hip_complex.h +++ b/projects/clr/hipamd/include/hip/amd_detail/hip_complex.h @@ -214,7 +214,7 @@ __device__ __host__ static inline hipDoubleComplex hipCdiv(hipDoubleComplex p, h return ret; } -__device__ __host__ static inline double hipCabs(hipDoubleComplex z) { return sqrtf(hipCsqabs(z)); } +__device__ __host__ static inline double hipCabs(hipDoubleComplex z) { return sqrt(hipCsqabs(z)); } #if __cplusplus