aboutsummaryrefslogtreecommitdiff
path: root/src/projections
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections')
-rw-r--r--src/projections/adams.cpp2
-rw-r--r--src/projections/tmerc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/projections/adams.cpp b/src/projections/adams.cpp
index 89eab795..88fce8e5 100644
--- a/src/projections/adams.cpp
+++ b/src/projections/adams.cpp
@@ -180,7 +180,7 @@ static PJ_XY adams_forward(PJ_LP lp, PJ *P) {
static PJ_LP inverse_with_newton_raphson(PJ_XY xy,
PJ *P,
- PJ_LP lp, // inital guess
+ PJ_LP lp, // initial guess
PJ_XY (*fwd)(PJ_LP, PJ *))
{
double deriv_lam_X = 0;
diff --git a/src/projections/tmerc.cpp b/src/projections/tmerc.cpp
index ff4a8136..1e5fc1a8 100644
--- a/src/projections/tmerc.cpp
+++ b/src/projections/tmerc.cpp
@@ -609,7 +609,7 @@ static PJ_LP auto_e_inv (PJ_XY xy, PJ *P) {
// For k = 1 and lon = 3 (from central meridian),
// At lat = 0, we get x ~= 0.052, y = 0
// At lat = 90, we get x = 0, y ~= 1.57
- // And the shape of this x=f(y) frontier curve is very very rougly a
+ // And the shape of this x=f(y) frontier curve is very very roughly a
// parabola. Hence:
if( fabs(xy.x) > 0.053 - 0.022 * xy.y * xy.y )
return exact_e_inv(xy, P);