diff options
author | fivemok <9394929+fivemok@users.noreply.github.com> | 2018-05-15 13:33:05 -0400 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-05-15 10:33:05 -0700 |
commit | 290aa88e50e65c2dd5df4ddb062b895e9e7baae3 (patch) | |
tree | 6447ee92779f9e852b768b473e97b0d7d86ad801 /numpy/lib/arraypad.py | |
parent | 79ec65de3064cbdc687820ab09f20b989028509d (diff) | |
download | numpy-290aa88e50e65c2dd5df4ddb062b895e9e7baae3.tar.gz |
BUG: remove fast scalar power for arrays with object dtype (#11050)
Fixes #11047
If objects want to optimize `x**2` as `x*x`, they can do it inside their own `__pow__`, rather than relying on numpy to do it.
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions