diff --git a/src/math_functions.cpp b/src/math_functions.cpp index a1ee9d3ce5..230eb2aacc 100644 --- a/src/math_functions.cpp +++ b/src/math_functions.cpp @@ -46,7 +46,7 @@ __device__ float asinhf(float x) } __device__ float atan2f(float y, float x) { - return hc::precise_math::atan2f(x, y); + return hc::precise_math::atan2f(y, x); } __device__ float atanf(float x) {