diff options
author | David Cournapeau <cournape@gmail.com> | 2009-07-20 04:41:06 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-07-20 04:41:06 +0000 |
commit | 710154229c40e9c24a84645bbee07e894e725a9a (patch) | |
tree | e85e8045714a5fdb3c384c0918f3e49d2021ef7e /numpy | |
parent | 9ac7f1f98de23bd8d66d61ca0e684c687d7c19c1 (diff) | |
download | numpy-710154229c40e9c24a84645bbee07e894e725a9a.tar.gz |
Fix ws issues in npy_math sources.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/npymath/npy_math.c.src | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/npymath/npy_math.c.src b/numpy/core/src/npymath/npy_math.c.src index 66fd319ab..4a4812fbc 100644 --- a/numpy/core/src/npymath/npy_math.c.src +++ b/numpy/core/src/npymath/npy_math.c.src @@ -308,8 +308,8 @@ static @type@ modf@c@(@type@ x, @type@ *iptr) /**end repeat**/ -/* - * Useful constants in three precisions: +/* + * Useful constants in three precisions: * XXX: those should really be in the header */ @@ -328,12 +328,12 @@ static @type@ modf@c@(@type@ x, @type@ *iptr) #define RAD2DEG (180.0@c@/NPY_PI@c@) #define DEG2RAD (NPY_PI@c@/180.0@c@) -static @type@ rad2deg@c@(@type@ x) +static @type@ rad2deg@c@(@type@ x) { return x*RAD2DEG; } -static @type@ deg2rad@c@(@type@ x) +static @type@ deg2rad@c@(@type@ x) { return x*DEG2RAD; } |