diff options
| author | Mattias Andrée <m@maandree.se> | 2025-02-03 19:29:15 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2025-02-03 19:29:15 +0100 |
| commit | 5206ef585ccfb9a530a2f0e52945750385dae5db (patch) | |
| tree | 3f6ad6dee1eedbdf20b73ed23281d1b8d0b7533c | |
| parent | Fix error (diff) | |
| download | libred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.gz libred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.bz2 libred-5206ef585ccfb9a530a2f0e52945750385dae5db.tar.xz | |
Fix previous commit
Signed-off-by: Mattias Andrée <m@maandree.se>
| -rw-r--r-- | solar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
