diff options
Diffstat (limited to 'numpy/fft')
-rw-r--r-- | numpy/fft/__init__.py | 2 | ||||
-rw-r--r-- | numpy/fft/fftpack.py | 2 | ||||
-rw-r--r-- | numpy/fft/helper.py | 3 | ||||
-rw-r--r-- | numpy/fft/info.py | 1 | ||||
-rw-r--r-- | numpy/fft/setup.py | 1 | ||||
-rw-r--r-- | numpy/fft/tests/test_helper.py | 6 |
6 files changed, 13 insertions, 2 deletions
diff --git a/numpy/fft/__init__.py b/numpy/fft/__init__.py index 324e39f4d..6cfa535fb 100644 --- a/numpy/fft/__init__.py +++ b/numpy/fft/__init__.py @@ -1,3 +1,5 @@ +from __future__ import division + # To get sub-modules from info import __doc__ diff --git a/numpy/fft/fftpack.py b/numpy/fft/fftpack.py index 2f8982d3c..54d071884 100644 --- a/numpy/fft/fftpack.py +++ b/numpy/fft/fftpack.py @@ -30,6 +30,8 @@ The underlying code for these functions is an f2c-translated and modified version of the FFTPACK routines. """ +from __future__ import division + __all__ = ['fft','ifft', 'rfft', 'irfft', 'hfft', 'ihfft', 'rfftn', 'irfftn', 'rfft2', 'irfft2', 'fft2', 'ifft2', 'fftn', 'ifftn'] diff --git a/numpy/fft/helper.py b/numpy/fft/helper.py index 796ac4c53..763d6684b 100644 --- a/numpy/fft/helper.py +++ b/numpy/fft/helper.py @@ -1,6 +1,9 @@ """ Discrete Fourier Transforms - helper.py + """ +from __future__ import division + # Created by Pearu Peterson, September 2002 __all__ = ['fftshift', 'ifftshift', 'fftfreq', 'rfftfreq'] diff --git a/numpy/fft/info.py b/numpy/fft/info.py index 7bd2f0e92..1289f3b4c 100644 --- a/numpy/fft/info.py +++ b/numpy/fft/info.py @@ -174,5 +174,6 @@ Examples For examples, see the various functions. """ +from __future__ import division depends = ['core'] diff --git a/numpy/fft/setup.py b/numpy/fft/setup.py index 6acad7c9a..cf0e6bb58 100644 --- a/numpy/fft/setup.py +++ b/numpy/fft/setup.py @@ -1,3 +1,4 @@ +from __future__ import division def configuration(parent_package='',top_path=None): diff --git a/numpy/fft/tests/test_helper.py b/numpy/fft/tests/test_helper.py index 77e34f1ec..b20e6ddc3 100644 --- a/numpy/fft/tests/test_helper.py +++ b/numpy/fft/tests/test_helper.py @@ -1,6 +1,8 @@ #!/usr/bin/env python -# Copied from fftpack.helper by Pearu Peterson, October 2005 -""" Test functions for fftpack.helper module +"""Test functions for fftpack.helper module + +Copied from fftpack.helper by Pearu Peterson, October 2005 + """ from __future__ import division |