Skip to content

2d by 1d matmul fix#7986

Merged
danking merged 2 commits intohail-is:masterfrom
johnc1231:johnc-2d-by-1d-matmul
Jan 29, 2020
Merged

2d by 1d matmul fix#7986
danking merged 2 commits intohail-is:masterfrom
johnc1231:johnc-2d-by-1d-matmul

Conversation

@johnc1231
Copy link
Contributor

I accidentally got the dimensions wrong in one of the matmulShape cases, causing this issue: #7982. This didn't come out in testing because in my 2 dimensional by 1 dimensional ndarray test, I used a square 2 dimensional array, so the shape was the same on either side. This PR adds another test and makes the fix.

@johnc1231
Copy link
Contributor Author

See here: https://docs.scipy.org/doc/numpy/reference/generated/numpy.matmul.html for the semantics that are expected.

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.

3 participants