summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-11-05 23:10:56 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-11-05 23:10:56 +0000
commit81c23fb31aa97e0b66df3ae1889c93c1d524fa98 (patch)
tree1bb9beb060f55ed9ed3b6db46978ed74aa24d1d9 /numpy
parent4f94b70d7848d5fef8cc8d95b3cf6407f786bafb (diff)
downloadnumpy-81c23fb31aa97e0b66df3ae1889c93c1d524fa98.tar.gz
Fix reversal between radians and degrees.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umathmodule.c.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src
index 78274bc34..0b2388fd3 100644
--- a/numpy/core/src/umathmodule.c.src
+++ b/numpy/core/src/umathmodule.c.src
@@ -36,8 +36,8 @@
*/
#define PI 3.14159265358979323846264338328@c@
-#define degrees@c@ deg2rad@c@
-#define radians@c@ rad2deg@c@
+#define degrees@c@ rad2deg@c@
+#define radians@c@ deg2rad@c@
static @type@
rad2deg@c@(@type@ x) {