From 4955c4b8f99bc45ad9aacb13de691614c4e0ad38 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 23 Feb 2018 13:15:16 -0500 Subject: update C headers to clang 6.0.0rc3 --- c_headers/cuda_wrappers/algorithm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c_headers/cuda_wrappers/algorithm') 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 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 -- cgit v1.2.3