From 3c5de6b4f9b1e1663216debfc50ce14ab52b617d Mon Sep 17 00:00:00 2001 From: Don Cross Date: Tue, 26 May 2020 21:18:50 -0400 Subject: [PATCH] C: Fixed documentation mistake. --- generate/template/astronomy.c | 4 ++-- source/c/README.md | 4 ++-- source/c/astronomy.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/generate/template/astronomy.c b/generate/template/astronomy.c index abbd5b1d..1f3de64f 100644 --- a/generate/template/astronomy.c +++ b/generate/template/astronomy.c @@ -5710,7 +5710,7 @@ static double ShadowSemiDurationMinutes(astro_time_t center_time, double radius_ * See #astro_lunar_eclipse_t for more information. * To find a series of lunar eclipses, call this function once, * then keep calling #Astronomy_NextLunarEclipse as many times as desired, - * passing in the `center` value returned from the previous call. + * passing in the `peak` value returned from the previous call. * * @param startTime * The date and time for starting the search for a lunar eclipse. @@ -6385,7 +6385,7 @@ astro_local_solar_eclipse_t Astronomy_SearchLocalSolarEclipse( * * After using #Astronomy_SearchLocalSolarEclipse to find the first solar eclipse * in a series, you can call this function to find the next consecutive solar eclipse. - * Pass in the `center` value from the #astro_local_solar_eclipse_t returned by the + * Pass in the `peak` value from the #astro_local_solar_eclipse_t returned by the * previous call to `Astronomy_SearchLocalSolarEclipse` or `Astronomy_NextLocalSolarEclipse` * to find the next solar eclipse. * diff --git a/source/c/README.md b/source/c/README.md index c11ce897..b749d83a 100644 --- a/source/c/README.md +++ b/source/c/README.md @@ -918,7 +918,7 @@ After using [`Astronomy_SearchGlobalSolarEclipse`](#Astronomy_SearchGlobalSolarE -After using [`Astronomy_SearchLocalSolarEclipse`](#Astronomy_SearchLocalSolarEclipse) to find the first solar eclipse in a series, you can call this function to find the next consecutive solar eclipse. Pass in the `center` value from the [`astro_local_solar_eclipse_t`](#astro_local_solar_eclipse_t) returned by the previous call to `Astronomy_SearchLocalSolarEclipse` or `Astronomy_NextLocalSolarEclipse` to find the next solar eclipse. +After using [`Astronomy_SearchLocalSolarEclipse`](#Astronomy_SearchLocalSolarEclipse) to find the first solar eclipse in a series, you can call this function to find the next consecutive solar eclipse. Pass in the `peak` value from the [`astro_local_solar_eclipse_t`](#astro_local_solar_eclipse_t) returned by the previous call to `Astronomy_SearchLocalSolarEclipse` or `Astronomy_NextLocalSolarEclipse` to find the next solar eclipse. @@ -1528,7 +1528,7 @@ To iterate through consecutive alternating perigee and apogee events, call `Astr -This function finds the first lunar eclipse that occurs after `startTime`. A lunar eclipse found may be penumbral, partial, or total. See [`astro_lunar_eclipse_t`](#astro_lunar_eclipse_t) for more information. To find a series of lunar eclipses, call this function once, then keep calling [`Astronomy_NextLunarEclipse`](#Astronomy_NextLunarEclipse) as many times as desired, passing in the `center` value returned from the previous call. +This function finds the first lunar eclipse that occurs after `startTime`. A lunar eclipse found may be penumbral, partial, or total. See [`astro_lunar_eclipse_t`](#astro_lunar_eclipse_t) for more information. To find a series of lunar eclipses, call this function once, then keep calling [`Astronomy_NextLunarEclipse`](#Astronomy_NextLunarEclipse) as many times as desired, passing in the `peak` value returned from the previous call. diff --git a/source/c/astronomy.c b/source/c/astronomy.c index eac70550..ec5ce163 100644 --- a/source/c/astronomy.c +++ b/source/c/astronomy.c @@ -7365,7 +7365,7 @@ static double ShadowSemiDurationMinutes(astro_time_t center_time, double radius_ * See #astro_lunar_eclipse_t for more information. * To find a series of lunar eclipses, call this function once, * then keep calling #Astronomy_NextLunarEclipse as many times as desired, - * passing in the `center` value returned from the previous call. + * passing in the `peak` value returned from the previous call. * * @param startTime * The date and time for starting the search for a lunar eclipse. @@ -8040,7 +8040,7 @@ astro_local_solar_eclipse_t Astronomy_SearchLocalSolarEclipse( * * After using #Astronomy_SearchLocalSolarEclipse to find the first solar eclipse * in a series, you can call this function to find the next consecutive solar eclipse. - * Pass in the `center` value from the #astro_local_solar_eclipse_t returned by the + * Pass in the `peak` value from the #astro_local_solar_eclipse_t returned by the * previous call to `Astronomy_SearchLocalSolarEclipse` or `Astronomy_NextLocalSolarEclipse` * to find the next solar eclipse. *