Skip to content

workaround for circular dependency #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged

workaround for circular dependency #192

merged 1 commit into from
May 29, 2025

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented May 28, 2025

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 Copilot AI review requested due to automatic review settings May 28, 2025 18:46
Copy link
Contributor

@Copilot Copilot AI left a comment

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.

2 participants