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:
Don Cross
2020-05-13 15:52:22 -04:00
parent 6ed3d8f5b8
commit 4354e72e52
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
}