summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
authorJeff <3820914+jeffyancey@users.noreply.github.com>2018-09-03 22:41:57 -0700
committerEric Wieser <wieser.eric@gmail.com>2018-09-03 23:41:57 -0600
commitfe3412fde8990ff08405f3324d309e521aff1d7d (patch)
treee9cc75ffd1e83440bbcec185799598c146276f07 /numpy/polynomial/_polybase.py
parent332da0452a0c428b936899bf0cb60019878cadd0 (diff)
downloadnumpy-fe3412fde8990ff08405f3324d309e521aff1d7d.tar.gz
MAINT: remove surviving, unused, list comprehension (#11843)
This variable is never used, and shows signs of being leftover from a previous implementation. Introduced in gh-11528. Closes gh-11842
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 42db9bfd1..c28e77e69 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -317,13 +317,6 @@ class ABCPolyBase(object):
)
needs_parens = True
- # filter out uninteresting coefficients
- filtered_coeffs = [
- (i, c)
- for i, c in enumerate(self.coef)
- # if not (c == 0) # handle NaN
- ]
-
mute = r"\color{{LightGray}}{{{}}}".format
parts = []