Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MAINT: Fixed the return-dtype ofndarray.real andimag#19324

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
charris merged 1 commit intonumpy:maintenance/1.21.xfromBvB93:real_imag
Jun 24, 2021

Conversation

@BvB93
Copy link
Member

Backport ofc66ffd9.
closes#19318.

Both properties were previously annotated is if the dtype of the parent- and to-be-returned-array were always the same,
an assumption that does not hold true for complex arrays.

NeilGirdhar reacted with hooray emoji
The latter two would previously return complex arrays if the initial array was also complex
@BvB93BvB93 added this to the1.21.1 release milestoneJun 24, 2021
@BvB93BvB93 linked an issueJun 24, 2021 that may beclosed by this pull request
@BvB93BvB93 changed the titleMAINT: Fixed an issue with the return-dtype ofndarray.real andimagMAINT: Fixed the return-dtype ofndarray.real andimagJun 24, 2021
@charrischarris merged commitc532dcd intonumpy:maintenance/1.21.xJun 24, 2021
@charris
Copy link
Member

Thanks Bas.

@BvB93BvB93 deleted the real_imag branchJune 24, 2021 13:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

1.21.1 release

Development

Successfully merging this pull request may close these issues.

Incorrect type annotation for ndarray.real

2 participants

@BvB93@charris

[8]ページ先頭

©2009-2025 Movatter.jp