diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2016-03-30 19:10:26 -0700 |
---|---|---|
committer | Antony Lee <anntzer.lee@gmail.com> | 2016-03-30 19:10:26 -0700 |
commit | 9fba2cb5ebddd4790be60801aa0aa62027fbfd02 (patch) | |
tree | c56e63a8b68cefe66c817de183965d3cc99081ab /numpy/core/fromnumeric.py | |
parent | 25d60a989766e630b92a79284388845ade96d3d0 (diff) | |
download | numpy-9fba2cb5ebddd4790be60801aa0aa62027fbfd02.tar.gz |
Faster real_if_close.
Because of the complexity of `allclose`, `real_if_close(t)` used to be
~2.5-3x slower than, say, `t + t`. This patch makes it approximately as
fast.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions