summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/solar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/solar.py b/src/solar.py
index 05f0d2e..ed85b2c 100644
--- a/src/solar.py
+++ b/src/solar.py
@@ -451,6 +451,7 @@ def future_past_elevation(delta, latitude, longitude, elevation, t = None):
@param t:float? The time in Julian Centuries, `None` for the current time
'''
epsilon = 0.000001
+ t = julian_centuries() if t is None else t
t1 = t2 = t
e1 = e0 = solar_elevation(latitude, longitude, t)
while True: