Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Ensure output order follows input in numpy.fft#26822

Merged
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26795
Jul 2, 2024
Merged

BUG: Ensure output order follows input in numpy.fft#26822
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26795

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jul 1, 2024

Backport of #26795.

closes #26777

Output after making the changes

>>> import numpy
>>> a = numpy.ones((10,10), dtype=numpy.complex64, order="F")
>>> numpy.fft.fft(a).flags
  C_CONTIGUOUS : False
  F_CONTIGUOUS : True
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False

>>> a = numpy.ones((10,10), dtype=numpy.complex64, order="C")
>>> numpy.fft.fft(a).flags
  C_CONTIGUOUS : True
  F_CONTIGUOUS : False
  OWNDATA : True
  WRITEABLE : True
  ALIGNED : True
  WRITEBACKIFCOPY : False

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 1, 2024
@charris charris added this to the 2.0.1 release milestone Jul 1, 2024
@charris charris merged commit 06a54b4 into numpy:maintenance/2.0.x Jul 2, 2024
@charris charris deleted the backport-26795 branch July 2, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant