diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-01-19 09:35:26 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-01-19 09:35:26 -0700 |
commit | 947be0f72a47590719e89cf23a6a5972a0cc5f24 (patch) | |
tree | 649c7552b62ab61f4066c36c575fb1958bac6473 | |
parent | 5f7d3637ae1069e465c4b343bd2f9250fe102396 (diff) | |
parent | d426ed91b41293f75c90e1795b72c017e8d435ef (diff) | |
download | numpy-947be0f72a47590719e89cf23a6a5972a0cc5f24.tar.gz |
Merge pull request #7053 from tushar-rishav/ifft_RAM_requirements
BUG: Should fix astype cast bug in numpy.fft module
-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) |