diff options
-rw-r--r-- | numpy/core/src/npysort/quicksort.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/npysort/quicksort.cpp b/numpy/core/src/npysort/quicksort.cpp index 625fdebbb..7497ebaa3 100644 --- a/numpy/core/src/npysort/quicksort.cpp +++ b/numpy/core/src/npysort/quicksort.cpp @@ -69,9 +69,9 @@ #define SMALL_MERGESORT 20 #define SMALL_STRING 16 -// Temporarily disable AVX512 sorting on WIN32 until we can figure -// out why it has test failures -#ifdef _MSC_VER +// Temporarily disable AVX512 sorting on WIN32 and CYGWIN until we can figure +// out why it has test failures +#if defined(_MSC_VER) || defined(__CYGWIN__) template<typename T> inline bool quicksort_dispatch(T*, npy_intp) { @@ -101,7 +101,7 @@ inline bool quicksort_dispatch(T *start, npy_intp num) } return false; } -#endif // _MSC_VER +#endif // _MSC_VER || CYGWIN /* ***************************************************************************** |