10000 TYP,MAINT: Allow `einsum` subscripts to be passed via integer array-likes by BvB93 · Pull Request #21983 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TYP,MAINT: Allow einsum subscripts to be passed via integer array-likes #21983

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
Jul 14, 2022

Conversation

BvB93
Copy link
Member
@BvB93 BvB93 commented Jul 14, 2022

closes #21978

In addition to strings, einsum's subscripts can be passed either via a nested integer list. This is now reflected in the annotations.

@BvB93
Copy link
Member Author
BvB93 commented Jul 14, 2022

The 3.11b4 test failure is expected due to #21982

@mattip mattip merged commit b8192d1 into numpy:main Jul 14, 2022
@mattip
Copy link
Member
mattip commented Jul 14, 2022

Thanks @BvB93

@BvB93 BvB93 deleted the einsum branch July 14, 2022 12:30
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jul 24, 2022
@charris charris removed this from the 1.23.2 release milestone Jul 24, 2022
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.

BUG: Missing type override for einsum case
3 participants
0