diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2016-02-05 12:15:50 -0500 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2016-02-07 14:26:55 -0500 |
commit | f473fe4418a98e2e0edb357f23b74964b09d6a7a (patch) | |
tree | c386be2011da53e30b04b7a3948d3930afd185d7 /numpy/polynomial/polyutils.py | |
parent | 08fb5807118423e314f324b9bcafdbaab9316f4d (diff) | |
download | numpy-f473fe4418a98e2e0edb357f23b74964b09d6a7a.tar.gz |
MNT: reduce number of return statements
In sum, amax, amin, and prod simplify the logic to remove an identical
return statement / call to `_methods._xxx`. This removes several
elif/else pairs and reduces the number of exit points from the functions
but makes the code path a bit more complicated to trace.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions