diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/solar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solar.c b/src/solar.c index 38278a0..038443f 100644 --- a/src/solar.c +++ b/src/solar.c @@ -314,6 +314,6 @@ double solar_elevation(double latitude, double longitude) { double tm = julian_centuries(); - return errno ? -1 : degrees(solar_elevation_from_time(rm, latitude, longitude)); + return errno ? -1 : degrees(solar_elevation_from_time(tm, latitude, longitude)); } |