aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-03 19:29:15 +0100
committerMattias Andrée <m@maandree.se>2025-02-03 19:29:15 +0100
commit5206ef585ccfb9a530a2f0e52945750385dae5db (patch)
tree3f6ad6dee1eedbdf20b73ed23281d1b8d0b7533c
parentFix error (diff)
downloadlibred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.gz
libred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.bz2
libred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.xz
Fix previous commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--solar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/solar.c b/solar.c
index 6d8b6dd..1b316bb 100644
--- a/solar.c
+++ b/solar.c
@@ -249,7 +249,7 @@ equation_of_time(double t)
double l = sun_geometric_mean_longitude(t);
double e = earth_orbit_eccentricity(t);
double m = sun_geometric_mean_anomaly(t);
- double y = tan(corrected_mean_ecliptic_obliquity(t) / 2.0;
+ double y = tan(corrected_mean_ecliptic_obliquity(t) / 2.0);
double r, c, s;
y *= y;
s = y * sin(2.0 * l);