diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-23 13:15:16 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-23 13:15:16 -0500 |
| commit | 4955c4b8f99bc45ad9aacb13de691614c4e0ad38 (patch) | |
| tree | fb918ba58cfc7da81ab747fe2bc51cfc316d45ec /c_headers/cuda_wrappers/algorithm | |
| parent | 1ba6e1641a4c5ea1d0d665fe500c9c66d69443a4 (diff) | |
| download | zig-4955c4b8f99bc45ad9aacb13de691614c4e0ad38.tar.gz zig-4955c4b8f99bc45ad9aacb13de691614c4e0ad38.zip | |
update C headers to clang 6.0.0rc3
Diffstat (limited to 'c_headers/cuda_wrappers/algorithm')
| -rw-r--r-- | c_headers/cuda_wrappers/algorithm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_headers/cuda_wrappers/algorithm b/c_headers/cuda_wrappers/algorithm index 95d9beb73c..cedd70762c 100644 --- a/c_headers/cuda_wrappers/algorithm +++ b/c_headers/cuda_wrappers/algorithm @@ -80,7 +80,7 @@ min(const __T &__a, const __T &__b, __Cmp __cmp) { template <class __T> inline __device__ const __T & min(const __T &__a, const __T &__b) { - return __a < __b ? __b : __a; + return __a < __b ? __a : __b; } #ifdef _LIBCPP_END_NAMESPACE_STD |
