aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-02 20:56:23 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-02 20:56:23 +0100
commit66cc36fcd75fc2c62a0c021df8ecf53eb95d9a49 (patch)
tree7b1d9b6c6b54ceeba86e5cc8b7ba4ee32ed1c3f7 /src
parentparse command line (diff)
downloadradharc-66cc36fcd75fc2c62a0c021df8ecf53eb95d9a49.tar.gz
radharc-66cc36fcd75fc2c62a0c021df8ecf53eb95d9a49.tar.bz2
radharc-66cc36fcd75fc2c62a0c021df8ecf53eb95d9a49.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r--src/solar.c2
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));
}