From 3ee363f243cd37d4b9e8745b72c6c3d9d130d5c4 Mon Sep 17 00:00:00 2001 From: Brandon Rhodes Date: Fri, 13 Dec 2019 08:53:02 -0500 Subject: [PATCH] Remove an unused value --- jplephem/pck.py | 2 -- jplephem/spk.py | 2 -- 2 files changed, 4 deletions(-) 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