Removed incorrect comment in Python code.

This commit is contained in:
Don Cross
2022-09-28 10:12:28 -04:00
parent add675ea09
commit 207b8e7f65
3 changed files with 6 additions and 6 deletions

View File

@@ -5916,7 +5916,7 @@ def SearchMoonPhase(targetLon, startTime, limitDays):
if limitDays < 0.0:
# Search backward in time.
if ya < 0.0:
ya += 360.0 # force searching forward in time, not backward
ya += 360.0
est_dt = -(_MEAN_SYNODIC_MONTH * ya) / 360.0
dt2 = est_dt + uncertainty
if dt2 < limitDays:
@@ -5925,7 +5925,7 @@ def SearchMoonPhase(targetLon, startTime, limitDays):
else:
# Search forward in time.
if ya > 0.0:
ya -= 360.0 # force searching forward in time, not backward
ya -= 360.0
est_dt = -(_MEAN_SYNODIC_MONTH * ya) / 360.0
dt1 = est_dt - uncertainty
if dt1 > limitDays: