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 2424# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2525# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
27- # Added for completing the namespaces
28- from numpy .fft import fftfreq , fftshift , ifftshift , rfftfreq
29-
3027# pylint: disable=no-name-in-module
3128from ._numpy_fft import (
3229 fft ,
6057 "irfftn" ,
6158 "hfft" ,
6259 "ihfft" ,
63- "fftshift" ,
64- "ifftshift" ,
65- "fftfreq" ,
66- "rfftfreq" ,
6760]
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