diff options
Diffstat (limited to 'numpy/dft')
-rw-r--r-- | numpy/dft/fftpack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/dft/fftpack.py b/numpy/dft/fftpack.py index c5bb085e2..441aae5f5 100644 --- a/numpy/dft/fftpack.py +++ b/numpy/dft/fftpack.py @@ -55,7 +55,7 @@ def _raw_fft(a, n=None, axis=-1, init_function=fftpack.cffti, index = [slice(None)]*len(s) index[axis] = slice(0,s[axis]) s[axis] = n - z = zeros(s, a.dtypechar) + z = zeros(s, a.dtype.char) z[index] = a a = z |