aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/solar_python.py')
-rw-r--r--src/solar_python.py6
1 files changed, 3 insertions, 3 deletions
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