summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-19 09:35:26 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-19 09:35:26 -0700
commit947be0f72a47590719e89cf23a6a5972a0cc5f24 (patch)
tree649c7552b62ab61f4066c36c575fb1958bac6473
parent5f7d3637ae1069e465c4b343bd2f9250fe102396 (diff)
parentd426ed91b41293f75c90e1795b72c017e8d435ef (diff)
downloadnumpy-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.py2
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)