summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-12-18 23:41:54 -0800
committerEric Wieser <wieser.eric@gmail.com>2017-12-18 23:44:08 -0800
commitb0740b7b5625181dbed25f6b13bc424c1f37614b (patch)
treedf8b8e5cf2905125a45944cf12dd1a1506ff8c5f /numpy/core/arrayprint.py
parent0225771c13e2cf54dc3dd1ff4d39af6a78fde9d8 (diff)
downloadnumpy-b0740b7b5625181dbed25f6b13bc424c1f37614b.tar.gz
MAINT: Avoid repeated validation of percentiles in nanpercentile
Previously, this would check the percentiles were 0 <= q <= 100 on every single slice of non-reduction axes. This also pulls the division by 100 to the top level, which makes things clearer, and also reduces the size of the stack trace
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions