File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 24
24
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
25
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
26
27
- # Added for completing the namespaces
28
- from numpy .fft import fftfreq , fftshift , ifftshift , rfftfreq
29
-
30
27
# pylint: disable=no-name-in-module
31
28
from ._numpy_fft import (
32
29
fft ,
60
57
"irfftn" ,
61
58
"hfft" ,
62
59
"ihfft" ,
63
- "fftshift" ,
64
- "ifftshift" ,
65
- "fftfreq" ,
66
- "rfftfreq" ,
67
60
]
61
+
62
+ # It is important to put the following import here to avoid circular imports
63
+ # when patching numpy with mkl_fft
64
+ # Added for completing the namespaces
65
+ from numpy .fft import fftfreq , fftshift , ifftshift , rfftfreq
66
+
67
+ __all__ += ["fftshift" , "ifftshift" , "fftfreq" , "rfftfreq" ]
You can’t perform that action at this time.
0 commit comments