diff options
| -rw-r--r-- | numpy/polynomial/chebyshev.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index 5c595bcf6..106d1e36f 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -1959,7 +1959,7 @@ def chebpts2(npts): Chebyshev points of the second kind. The Chebyshev points of the second kind are the points ``cos(x)``, - where ``x = [pi*k/(npts - 1) for k in range(npts)]``. + where ``x = [pi*k/(npts - 1) for k in range(-npts+1,1)]``. Parameters ---------- |
