aboutsummaryrefslogtreecommitdiff
path: root/src/geodesic.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2016-12-12 16:33:43 +0100
committerEven Rouault <even.rouault@spatialys.com>2016-12-12 16:33:43 +0100
commitab7e98b026b327e8b61510ba4e79b5ae42b5e5f2 (patch)
tree0398d826eb4fd29a43d3360ba2e8b75b6f7e943d /src/geodesic.c
parente47afa43860e4350dce13689108096ab33c56d12 (diff)
downloadPROJ-ab7e98b026b327e8b61510ba4e79b5ae42b5e5f2.tar.gz
PROJ-ab7e98b026b327e8b61510ba4e79b5ae42b5e5f2.zip
Add a scripts/fix_typos.sh script and correct reported errors
Diffstat (limited to 'src/geodesic.c')
-rw-r--r--src/geodesic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/geodesic.c b/src/geodesic.c
index e897e89e..ad4a2686 100644
--- a/src/geodesic.c
+++ b/src/geodesic.c
@@ -896,7 +896,7 @@ static real geod_geninverse_int(const struct geod_geodesic* g,
continue;
}
}
- /* Either dv was not postive or updated value was outside legal
+ /* Either dv was not positive or updated value was outside legal
* range. Use the midpoint of the bracket as the next estimate.
* This mechanism is not needed for the WGS84 ellipsoid, but it does
* catch problems with more eccentric ellipsoids. Its efficacy is
@@ -1484,7 +1484,7 @@ real A3f(const struct geod_geodesic* g, real eps) {
void C3f(const struct geod_geodesic* g, real eps, real c[]) {
/* Evaluate C3 coeffs
- * Elements c[1] thru c[nC3 - 1] are set */
+ * Elements c[1] through c[nC3 - 1] are set */
real mult = 1;
int o = 0, l;
for (l = 1; l < nC3; ++l) { /* l is index of C3[l] */
@@ -1497,7 +1497,7 @@ void C3f(const struct geod_geodesic* g, real eps, real c[]) {
void C4f(const struct geod_geodesic* g, real eps, real c[]) {
/* Evaluate C4 coeffs
- * Elements c[0] thru c[nC4 - 1] are set */
+ * Elements c[0] through c[nC4 - 1] are set */
real mult = 1;
int o = 0, l;
for (l = 0; l < nC4; ++l) { /* l is index of C4[l] */