Summary:
How embarrassing.
This is tested in the test-suite -- fix to come there in a separate
patch.
Reviewers: tra
Subscribers: sanjoy, cfe-commits
Differential Revision: https://reviews.llvm.org/D39817
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317961
91177308-0d34-0410-b5e6-
96231b3b80d8
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