Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

MAINT, TYP: Fix np.angle dtype-overloads - #22031

Merged
charris merged 1 commit into
numpy:maintenance/1.23.xfrom
charris:backport-21974
Jul 24, 2022
Merged

charris merged 1 commit into
numpy:maintenance/1.23.xfrom
charris:backport-21974

Conversation

@charris

@charris charris commented Jul 24, 2022

Copy link
Copy Markdown
Member

Backport of #21974.

Closes #21972

There were two issues with the previous np.angle annotations:

  • It assumed that all array-likes would be reduced to scalars.
  • It did not take into account that complex dtypes would be coerced into their float-based equivalent.

@charris charris added this to the 1.23.2 release milestone Jul 24, 2022
@charris charris closed this Jul 24, 2022
@charris charris reopened this Jul 24, 2022
@charris
charris merged commit 387fadf into numpy:maintenance/1.23.x Jul 24, 2022
@charris
charris deleted the backport-21974 branch July 24, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants