mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-25 01:09:09 -04:00
Minor tweaks due to sun, moon radius changes for lunar eclipse calculations.
Adding support for lunar eclipse calculations in the C code caused me to tweak the values of the Sun and Moon radii. This in turn caused unit test failures. Made slight changes to the unit tests to get things passing again.
This commit is contained in:
@@ -2,4 +2,4 @@ search : 2019-06-14 21:45:24 UTC
|
||||
sunrise : 2019-06-15 10:12:44 UTC
|
||||
sunset : 2019-06-15 01:48:01 UTC
|
||||
moonrise : 2019-06-14 23:02:43 UTC
|
||||
moonset : 2019-06-15 09:12:24 UTC
|
||||
moonset : 2019-06-15 09:12:25 UTC
|
||||
|
||||
@@ -1100,7 +1100,7 @@ static int RiseSet(const char *filename)
|
||||
if (error_minutes > max_minutes)
|
||||
max_minutes = error_minutes;
|
||||
|
||||
if (error_minutes > 0.56)
|
||||
if (error_minutes > 0.57)
|
||||
FAIL("C RiseSet(%s line %d): excessive prediction time error = %lg minutes.\n", filename, lnum, error_minutes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user