diff --git a/jplephem/pck.py b/jplephem/pck.py index d0f1d44..8c1d75c 100644 --- a/jplephem/pck.py +++ b/jplephem/pck.py @@ -153,8 +153,6 @@ class Segment(object): # Chebyshev polynomial. We accumulate results starting with the # final coefficient to retain accuracy for as long as possible. - jmax = coefficients.shape[0] - s = 2.0 * offset / intlen - 1.0 s2 = 2.0 * s diff --git a/jplephem/spk.py b/jplephem/spk.py index 5f3c371..8ee7d78 100644 --- a/jplephem/spk.py +++ b/jplephem/spk.py @@ -239,8 +239,6 @@ class Segment(BaseSegment): # Chebyshev polynomial. We accumulate results starting with the # final coefficient to retain accuracy for as long as possible. - jmax = coefficients.shape[0] - s = 2.0 * offset / intlen - 1.0 s2 = 2.0 * s