Skip to content

workaround for circular dependency#192

Merged
vtavana merged 1 commit into
masterfrom
helper-funcs
May 29, 2025
Merged

workaround for circular dependency#192
vtavana merged 1 commit into
masterfrom
helper-funcs

Conversation

@vtavana

@vtavana vtavana commented May 28, 2025

Copy link
Copy Markdown
Contributor

The order of import in mkl_fft/interfaces/numpy_fft.py is modified to avoid circular dependency when patching numpy FFT module with mkl_ftt.

@vtavana vtavana self-assigned this May 28, 2025
@vtavana vtavana marked this pull request as ready for review May 28, 2025 18:46
Copilot AI review requested due to automatic review settings May 28, 2025 18:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR aims to implement a workaround for a circular dependency issue by modifying the order of imports in the numpy FFT interface. The changes remove the early import of certain numpy FFT functions and reintroduce them later in the file with additional comments to clarify the reasoning.

@vtavana vtavana merged commit de6f956 into master May 29, 2025
57 checks passed
@vtavana vtavana deleted the helper-funcs branch May 29, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants