aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/solar.c')
-rw-r--r--src/solar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/solar.c b/src/solar.c
index 990929d..5dd5fd9 100644
--- a/src/solar.c
+++ b/src/solar.c
@@ -316,8 +316,7 @@ solar_table_fill(double date, double lat, double lon, double *table)
/* Calulate absoute time of other phenomena */
for (int i = 2; i < SOLAR_TIME_MAX; i++) {
double angle = time_angle[i];
- double offset =
- time_of_solar_elevation(t, t_noon, lat, lon, angle);
+ double offset = time_of_solar_elevation(t, t_noon, lat, lon, angle);
table[i] = epoch_from_jd(jdn - 0.5 + offset/1440.0);
}
}