From 710154229c40e9c24a84645bbee07e894e725a9a Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Mon, 20 Jul 2009 04:41:06 +0000 Subject: Fix ws issues in npy_math sources. --- numpy/core/src/npymath/npy_math.c.src | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy') 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; } -- cgit v1.2.1