summaryrefslogtreecommitdiff
path: root/numpy/fft/fftpack.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/fft/fftpack.py')
-rw-r--r--numpy/fft/fftpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/fftpack.py b/numpy/fft/fftpack.py
index 1cb24f2b7..ffa6ac18d 100644
--- a/numpy/fft/fftpack.py
+++ b/numpy/fft/fftpack.py
@@ -200,7 +200,7 @@ def _cook_nd_args(a, s=None, axes=None, invreal=0):
if axes == None:
s = list(a.shape)
else:
- s = take(a.shape, axes)
+ s = take(a.shape, axes,axis=0)
else:
shapeless = 0
s = list(s)