Qualify calls to some functions from <cmath>.
PiperOrigin-RevId: 247958023
This commit is contained in:
parent
822404edd2
commit
8bda58c532
@ -984,7 +984,7 @@ struct scalar_atan2_op {
|
|||||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar
|
||||||
operator()(const Scalar& y, const Scalar& x) const {
|
operator()(const Scalar& y, const Scalar& x) const {
|
||||||
#if GOOGLE_CUDA
|
#if GOOGLE_CUDA
|
||||||
return ::atan2(y, x);
|
return std::atan2(y, x);
|
||||||
#else
|
#else
|
||||||
return std::atan2(y, x);
|
return std::atan2(y, x);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user