diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-01-14 23:18:39 -0800 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-01-14 23:21:44 -0800 |
commit | aa8f67ea4a92007059d240241a54ec3b3c1aacc9 (patch) | |
tree | e140a53455909e2cef75ae3704a616f188e6cec7 /numpy/core/numeric.py | |
parent | 9d8ca1ddc0f8893f799f40bc6e25c57a42bbcb8a (diff) | |
download | numpy-aa8f67ea4a92007059d240241a54ec3b3c1aacc9.tar.gz |
BUG: Fix crash in error message formatting introduced by gh-11230
Fixes gh-11221, and now produces:
```python
>>> a = np.ones((3, 3, 4, 5, 6))
>>> b = np.ones((3, 4, 5))
>>> np.einsum('aabcb,abc', a, b)
ValueError: dimensions in operand 0 for collapsing index 'b' don't match (4 != 6)
```
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions