Skip to content
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

BUG: Fix iterator shape in advanced index assignment broadcast error #18404

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

seberg
Copy link
Member

@seberg seberg commented Feb 12, 2021

The reported shape always missed the transpose operation, this refactors
the transpose getting out and applies it in the error path.

Closes gh-18401, gh-5710

The reported shape always missed the transpose operation, this refactors
the transpose getting out and applies it in the error path.

Closes numpygh-18401, numpygh-5710
Copy link
Member

@mattip mattip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, +/- bikeshedding the function name

@mattip mattip merged commit 68e4d56 into numpy:master Feb 22, 2021
@mattip
Copy link
Member

mattip commented Feb 22, 2021

Thanks @seberg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message confusing when assigning to array with array of wrong shape
2 participants