diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-05 12:51:57 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-06 20:50:25 +0200 |
commit | 9a2f0fec330861f8f60b805a2577eb3277ce5787 (patch) | |
tree | 2bec95e2cbed081b9d24eb984a8b591a306f4d41 /numpy/lib/tests/test_function_base.py | |
parent | d21cecf4526fc463a063d058d92987633250f06c (diff) | |
download | numpy-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/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions