summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-04-27 16:02:45 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2021-04-27 16:58:44 -0500
commit6d871ca31abad2ce7065469ca8b530e4daa4996f (patch)
tree60764d10534ce0b3d1e6af626c04205edf93198e /numpy/polynomial/polyutils.py
parent694f5c704736e99c0e92204dab797b1430d2424c (diff)
downloadnumpy-6d871ca31abad2ce7065469ca8b530e4daa4996f.tar.gz
MAINT: Remove dead codepath in generalized ufuncs
If the iterator has size zero, then that means that the outer iteration has size. Since the outer iteration is unaffected by core dimensions, in that case the output always has size zero and the code does nothing but unnecessary checking the array sizes.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions