summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-04-05 12:51:57 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-04-06 20:50:25 +0200
commit9a2f0fec330861f8f60b805a2577eb3277ce5787 (patch)
tree2bec95e2cbed081b9d24eb984a8b591a306f4d41 /numpy/core/arrayprint.py
parentd21cecf4526fc463a063d058d92987633250f06c (diff)
downloadnumpy-9a2f0fec330861f8f60b805a2577eb3277ce5787.tar.gz
ENH: do integer**2. inplace
Squaring integer arrays with float argument always casts to double so the squaring itself can be done inplace. Also use square fastop instead of multiply.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions