summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikola Forró <nforro@redhat.com>2016-04-06 11:03:30 +0200
committerNikola Forró <nforro@redhat.com>2016-04-06 11:23:21 +0200
commitdc714ed3a57ca4d0853e12d2e2457abc22c0ba07 (patch)
tree310cdfbe2dffb1a5f6b7ad21baa2b4d130b4c45d
parent537d35c2cf49cae0a496c37564fa282ec80e3695 (diff)
downloadnumpy-dc714ed3a57ca4d0853e12d2e2457abc22c0ba07.tar.gz
BUG: Extend glibc complex trig functions blacklist to glibc < 2.18.
The library complex trig functions are inaccurate also in glibc versions 2.16 and 2.17, so extend the blacklist. Closes #7517.
-rw-r--r--numpy/core/src/private/npy_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h
index 3d1470609..5f8aa3b79 100644
--- a/numpy/core/src/private/npy_config.h
+++ b/numpy/core/src/private/npy_config.h
@@ -75,7 +75,7 @@
#include <features.h>
#if defined(__GLIBC__)
-#if !__GLIBC_PREREQ(2, 16)
+#if !__GLIBC_PREREQ(2, 18)
#undef HAVE_CASIN
#undef HAVE_CASINF
@@ -96,7 +96,7 @@
#undef HAVE_CACOSHF
#undef HAVE_CACOSHL
-#endif /* __GLIBC_PREREQ(2, 16) */
+#endif /* __GLIBC_PREREQ(2, 18) */
#endif /* defined(__GLIBC_PREREQ) */
#endif /* defined(HAVE_FEATURES_H) */