summaryrefslogtreecommitdiff
path: root/numpy/fft/fftpack.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-02-14 12:29:07 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-02-14 12:29:07 -0700
commitce1dadfe0e7accac0721ebaa79f2a4b4a9f56e7e (patch)
tree82196522ec2de66b776e5c412d7c2d977e83561b /numpy/fft/fftpack.c
parent172ad3ebc4fe4402f9a2a34573b96d5b38208c8b (diff)
downloadnumpy-ce1dadfe0e7accac0721ebaa79f2a4b4a9f56e7e.tar.gz
MAINT: fftpack.c needs #define NPY_NO_DEPRECATED_API NPY_API_VERSION.
This is because of the inclusion of numpy/ndarraytypes.h in b3121e8.
Diffstat (limited to 'numpy/fft/fftpack.c')
-rw-r--r--numpy/fft/fftpack.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/numpy/fft/fftpack.c b/numpy/fft/fftpack.c
index fc9689ddc..277f49f07 100644
--- a/numpy/fft/fftpack.c
+++ b/numpy/fft/fftpack.c
@@ -1,10 +1,8 @@
/*
-fftpack.c : A set of FFT routines in C.
-Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber (Version 4, 1985).
-
+ * fftpack.c : A set of FFT routines in C.
+ * Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber (Version 4, 1985).
*/
-
-/* isign is +1 for backward and -1 for forward transforms */
+#define NPY_NO_DEPRECATED_API NPY_API_VERSION
#include <Python.h>
#include <math.h>
@@ -12,7 +10,6 @@ Algorithmically based on Fortran-77 FFTPACK by Paul N. Swarztrauber (Version 4,
#include <numpy/ndarraytypes.h>
#define DOUBLE
-
#ifdef DOUBLE
#define Treal double
#else