summaryrefslogtreecommitdiff
path: root/numpy/polynomial/chebyshev.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-01-23 13:48:38 -0500
committerWarren Weckesser <warren.weckesser@gmail.com>2020-01-23 14:05:15 -0500
commit021163b5e2293286b26d22bdae51305da634e74d (patch)
treedea44e19f7bbbeda64a219506fdcf8088e449ea6 /numpy/polynomial/chebyshev.py
parent04ac2a13b302a7af6fe2a5ca67e09a0e09a0f8e7 (diff)
downloadnumpy-021163b5e2293286b26d22bdae51305da634e74d.tar.gz
MAINT: Clean up, mostly unused imports.
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-rw-r--r--numpy/polynomial/chebyshev.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index 0bb297807..e547d151c 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -87,7 +87,6 @@ References
(preprint: https://www.math.hmc.edu/~benjamin/papers/CombTrig.pdf, pg. 4)
"""
-import warnings
import numpy as np
import numpy.linalg as la
from numpy.core.multiarray import normalize_axis_index
@@ -1058,7 +1057,6 @@ 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) # 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)