diff options
author | Tushar Gautam <tushar.rishav@gmail.com> | 2016-01-19 01:11:13 +0530 |
---|---|---|
committer | Tushar Gautam <tushar.rishav@gmail.com> | 2016-01-19 01:11:13 +0530 |
commit | d426ed91b41293f75c90e1795b72c017e8d435ef (patch) | |
tree | 51e47d41cf33b0170c6db7b86c47ad0311fd43c9 /numpy/fft/fftpack.py | |
parent | aa824670cf6ad21c2f921856ba4eec00781347fe (diff) | |
download | numpy-d426ed91b41293f75c90e1795b72c017e8d435ef.tar.gz |
BUG:Should fix astype cast bug in numpy.fft module
Closes #6693
Diffstat (limited to 'numpy/fft/fftpack.py')
-rw-r--r-- | numpy/fft/fftpack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/fftpack.py b/numpy/fft/fftpack.py index c3bb732b2..275be0d77 100644 --- a/numpy/fft/fftpack.py +++ b/numpy/fft/fftpack.py @@ -183,7 +183,7 @@ def fft(a, n=None, axis=-1, norm=None): """ - a = asarray(a).astype(complex) + a = asarray(a).astype(complex, copy=False) if n is None: n = a.shape[axis] output = _raw_fft(a, n, axis, fftpack.cffti, fftpack.cfftf, _fft_cache) |