Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix gcc-4.8 constexpr warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey committed Nov 18, 2020
1 parent 9766376 commit a5cf287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/complex
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ operator*(const _Tp& __x, const complex<_Tp>& __y)

namespace detail {
template <class _Tp>
inline _LIBCUDACXX_INLINE_VISIBILITY _LIBCUDACXX_CONSTEXPR _Tp __scalbn(_Tp __x, int __i) {
inline _LIBCUDACXX_INLINE_VISIBILITY _Tp __scalbn(_Tp __x, int __i) {
return static_cast<_Tp>(scalbn(static_cast<double>(__x), __i));
}

Expand Down

0 comments on commit a5cf287

Please sign in to comment.