summaryrefslogtreecommitdiff
path: root/numpy/polynomial/chebyshev.py
diff options
context:
space:
mode:
authorRoman Yurchak <rth.yurchak@pm.me>2018-12-06 20:05:08 +0100
committerCharles Harris <charlesr.harris@gmail.com>2018-12-06 11:05:08 -0800
commit45cef38cda80868355a920b5e94211dcf662ea07 (patch)
treee353794e418c2900e92c82e519e87f990605de60 /numpy/polynomial/chebyshev.py
parent8ffa2273ce739fe2b38b09f7f8aa37fde1591a18 (diff)
downloadnumpy-45cef38cda80868355a920b5e94211dcf662ea07.tar.gz
MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) (#12448)
* Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-rw-r--r--numpy/polynomial/chebyshev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index f1ddc9b06..92cdb18d2 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -1096,7 +1096,7 @@ def chebint(c, m=1, k=[], lbnd=0, scl=1, axis=0):
if n > 1:
tmp[2] = c[1]/4
for j in range(2, n):
- t = c[j]/(2*j + 1)
+ t = c[j]/(2*j + 1) # FIXME: t never used
tmp[j + 1] = c[j]/(2*(j + 1))
tmp[j - 1] -= c[j]/(2*(j - 1))
tmp[0] += k[i] - chebval(lbnd, tmp)