Skip to content

MAINT: Included mismatched shapes in error messages. #12269

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
May 30, 2020

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 29, 2020

... just to help with debugging.

Note that there are no parentheses in the formulation "Shapes of foo {}
and bar {}..." because tuple formatting already provides them.

Reference issue

N/A

What does this implement/fix?

Improve error messages when matrices with mismatched shapes are passed to various functions.

Additional information

N/A

... just to help with debugging.

Note that there are no parentheses in the formulation "Shapes of foo {}
and bar {}..." because tuple formatting already provides them.
@miladsade96 miladsade96 added the maintenance Items related to regular maintenance tasks label May 29, 2020
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Very useful, thanks for doing this @anntzer

@rgommers rgommers added this to the 1.6.0 milestone May 30, 2020
@rgommers rgommers merged commit f57e5bf into scipy:master May 30, 2020
@anntzer anntzer deleted the mismatched-shapes branch May 30, 2020 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants