diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-30 07:13:51 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-30 07:13:51 +0200 |
commit | bc052cbd8078b3ffc3fb56d5373f82731f419df4 (patch) | |
tree | 2260d93570feed5159ae1c2104268a7d9eeff273 /src | |
parent | update todo (diff) | |
download | blueshift-bc052cbd8078b3ffc3fb56d5373f82731f419df4.tar.gz blueshift-bc052cbd8078b3ffc3fb56d5373f82731f419df4.tar.bz2 blueshift-bc052cbd8078b3ffc3fb56d5373f82731f419df4.tar.xz |
missed to default to current time
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/solar.py | 1 |
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: |