Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

charris
Copy link
Member

@charris charris commented Jun 12, 2025

Backport of #29179.

Fixes #29164, the fix was suggested by @seberg

From the last comment in the issue:

Ideally, make sure we have tests for all other cases as well.

I think that input is well tested via numpy/_core/tests/test_multiarray.py::TestMatmul's test_dot_equivalent, and there are some tests in test_out_contiguous but that the specific case we hit here is missing. I added it: the test crashes before the fix, and passes after.

  • BUG: fix matmul with transposed out arg

  • DOC: add release note

  • fixes from review

* BUG: fix matmul with transposed out arg

* DOC: add release note

* fixes from review
@charris charris added this to the 2.3.1 release milestone Jun 12, 2025
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jun 12, 2025
@charris charris merged commit 270eef7 into numpy:maintenance/2.3.x Jun 12, 2025
73 checks passed
@charris charris deleted the backport-29179 branch June 17, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants