Skip to content

BUG: fix matmul with transposed out arg (#29179) #29191

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
Jun 12, 2025

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy