From 6252e171219804a10db3150397fa7e649196c546 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 6 Jul 2016 14:25:15 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/solar_python.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/solar_python.py b/src/solar_python.py index 87c65c2..80dae4a 100644 --- a/src/solar_python.py +++ b/src/solar_python.py @@ -16,19 +16,19 @@ -SOLAR_APPARENT_RADIUS = 32 / 60 +SOLAR_APPARENT_RADIUS = 32.0 / 60.0 ''' :float Approximate apparent size of the Sun in degrees ''' -SOLAR_ELEVATION_PRESUNSET_POSTSUNRISE = 32 / 60 +SOLAR_ELEVATION_PRESUNSET_POSTSUNRISE = 32.0 / 60.0 ''' :float The Sun's elevation the beginning of sunset and end of sunrise, measured in degrees ''' -SOLAR_ELEVATION_SUNSET_SUNRISE = -32 / 60 +SOLAR_ELEVATION_SUNSET_SUNRISE = -32.0 / 60.0 ''' :float The Sun's elevation the (end of) at sunset and (beginning of) sunrise, measured in degrees -- cgit v1.2.3-70-g09d2