Skip to content

Fix Float32HFFTN test to call hfftn instead of hfft2#1539

Draft
Copilot wants to merge 2 commits intofix-hfft-real-input-testfrom
copilot/sub-pr-1533
Draft

Fix Float32HFFTN test to call hfftn instead of hfft2#1539
Copilot wants to merge 2 commits intofix-hfft-real-input-testfrom
copilot/sub-pr-1533

Conversation

Copy link

Copilot AI commented Feb 17, 2026

The Float32HFFTN test method was incorrectly testing fft.hfft2 instead of fft.hfftn, despite its name and the existence of a separate Float64HFFTN test that correctly tests hfftn.

Changes:

  • Updated [TestOf] attribute from fft.hfft2 to fft.hfftn
  • Changed function call from fft.hfft2() to fft.hfftn()
  • Changed inverse verification from fft.ihfft2() to fft.ihfftn()

The test now correctly validates the n-dimensional Hermitian FFT function matching its method name.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: alinpahontu2912 <56953855+alinpahontu2912@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix HFFT tests to use complex input tensors Fix Float32HFFTN test to call hfftn instead of hfft2 Feb 17, 2026
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

Comments