summaryrefslogtreecommitdiff
path: root/numpy/fft/fftpack.c
diff options
context:
space:
mode:
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