From d1f56c37afbe522960acdfb264a3d5e08b5e4f81 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 15 Mar 2014 09:18:46 +0100 Subject: whoops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/solar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/solar.py b/src/solar.py index 53c10ad..1a89d52 100644 --- a/src/solar.py +++ b/src/solar.py @@ -93,7 +93,7 @@ def julian_day_to_epoch(t): @param t:float The time in Julian Days @return :float The time in POSIX time ''' - return (jd - 2440587.5) * 86400.0 + return (t - 2440587.5) * 86400.0 def epoch_to_julian_day(t): ''' -- cgit v1.2.3-70-g09d2