summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdroe <mdroe@localhost>2009-11-13 18:08:03 +0000
committermdroe <mdroe@localhost>2009-11-13 18:08:03 +0000
commit66313a336889e2ff898dad34ffae32d928bb2d5b (patch)
treefc2e0f63a2edc8bdd6f03924bfa8b61cb0a854d3
parent98e4a9c7c4c58ca667be8ca96a643b61e9da4914 (diff)
downloadnumpy-66313a336889e2ff898dad34ffae32d928bb2d5b.tar.gz
#1201, #1202, #1203: Fix arctan2 regression failures on Solaris by using the in-built atan2 implementation on that platform
-rw-r--r--numpy/core/src/private/npy_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h
index 50a67c6ba..67fb36b70 100644
--- a/numpy/core/src/private/npy_config.h
+++ b/numpy/core/src/private/npy_config.h
@@ -9,4 +9,9 @@
#undef HAVE_HYPOT
#endif
+/* Disable broken Sun Workshop Pro math functions */
+#ifdef __SUNPRO_C
+#undef HAVE_ATAN2
+#endif
+
#endif