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

Fix check of inner dimension in matmul for 2x2 and 3x3 outer dimension #15306

Merged
merged 1 commit into from
Mar 2, 2016

Conversation

andreasnoack
Copy link
Member

Fixes JuliaLang/LinearAlgebra.jl#311 by adding extra dimension checks.

@timholy
Copy link
Member

timholy commented Mar 1, 2016

LGTM. Sorry about that.

@andreasnoack
Copy link
Member Author

The dispatch structure in our matrix multiplication is quite complicated right now and also a bit inconsistent about where shapes are compared so I'm not surprised that this could happen.

andreasnoack added a commit that referenced this pull request Mar 2, 2016
Fix check of inner dimension in matmul for 2x2 and 3x3 outer dimension
@andreasnoack andreasnoack merged commit fd6eade into master Mar 2, 2016
@andreasnoack andreasnoack deleted the anj/matmulfix branch March 2, 2016 14:03
tkelman pushed a commit that referenced this pull request Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

matrix multiply with mismatched inner dimensions gives unexpected result
3 participants