| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks, small nit, but I think it is also good as is.
Sorry, something went wrong.
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
|
@seberg There was a missing : in the change you suggested, so I had to amend that commit... |
Sorry, something went wrong.
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
…='optimal' (#31354) It replaces the expression out[:] found in bmm_einsum() with the more universal out[...], which is also valid for a 0-dimensional out. TestEinsum.test_einsum_misc() in numpy/_core/tests/test_einsum.py has been extended. Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
BUG: np.einsum() fails with a 0-dimensional out argument and optimize='optimal' (#31354)
…='optimal' (numpy#31354) It replaces the expression out[:] found in bmm_einsum() with the more universal out[...], which is also valid for a 0-dimensional out. TestEinsum.test_einsum_misc() in numpy/_core/tests/test_einsum.py has been extended. Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
| Back | FazBrowse Home | New Git URL |
PR summary
This PR fixes #31350.
It replaces the expression out[:] found in bmm_einsum() with the more universal out[...], which is also valid for a 0-dimensional out.
TestEinsum.test_einsum_misc() in numpy/_core/tests/test_einsum.py has been extended to cover #31350.
First time committer introduction
I am a researcher who uses NumPy in a multitude of scientific computing projects, mostly simulation codes for computational condensed matter theory. I discovered the issue #31350 while working on one of such (private) projects.
AI Disclosure
No AI has been used in preparation of this PR.