diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-13 16:49:57 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-07-16 14:38:40 -0500 |
commit | 651862dd75db99dc4abcaf91e82ca21cf1309d08 (patch) | |
tree | 45cab9d17a23d03e82eaf65a90787e6478e419f1 /numpy/array_api/_array_object.py | |
parent | 89a045d6a9f9cadead3a2bc9b3ea9eba46c1206f (diff) | |
download | numpy-651862dd75db99dc4abcaf91e82ca21cf1309d08.tar.gz |
MAINT: Simplify ufunc.outer and raise error on bad reshape
This simplifies the reshaping logic to use the NewShape function
(this was previously impossible due to the split of umath and
multiarray).
It adds new errors if reshapes are bad, which currently is only
possible for bad subclasses. However, `np.matrix` is the main bad
subclass here, so this is in preparation of deprecating it.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions