diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-23 01:24:37 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-09-19 18:20:21 -0700 |
| commit | dc14434c0aed409a9152a05e4741623e0e99f32a (patch) | |
| tree | da59983d64d5a67b529738c24083c437af59c264 /lib/include/cuda_wrappers/algorithm | |
| parent | f69ff5e9b5267bd1e66ef0320b7fe6780858677d (diff) | |
| download | zig-dc14434c0aed409a9152a05e4741623e0e99f32a.tar.gz zig-dc14434c0aed409a9152a05e4741623e0e99f32a.zip | |
clang: Update compiler-provided C headers to Clang 19.
Diffstat (limited to 'lib/include/cuda_wrappers/algorithm')
| -rw-r--r-- | lib/include/cuda_wrappers/algorithm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/include/cuda_wrappers/algorithm b/lib/include/cuda_wrappers/algorithm index f14a0b00bb..3f59f28ae3 100644 --- a/lib/include/cuda_wrappers/algorithm +++ b/lib/include/cuda_wrappers/algorithm @@ -99,7 +99,7 @@ template <class __T> __attribute__((enable_if(true, ""))) inline _CPP14_CONSTEXPR __host__ __device__ const __T & min(const __T &__a, const __T &__b) { - return __a < __b ? __a : __b; + return __b < __a ? __b : __a; } #pragma pop_macro("_CPP14_CONSTEXPR") |
