aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorR. Schmunk <8718035+rschmunk@users.noreply.github.com>2019-09-03 15:56:03 -0400
committerGitHub <noreply@github.com>2019-09-03 15:56:03 -0400
commitf4f35ab88656b44e9165b9769451896c227f1be0 (patch)
treec527cd8efbfeeae51085074d30b78a8795b2d15f /src
parentb52285e9155228fb46fe9e792d21e600daa4c132 (diff)
downloadPROJ-f4f35ab88656b44e9165b9769451896c227f1be0.tar.gz
PROJ-f4f35ab88656b44e9165b9769451896c227f1be0.zip
Debug Bertin1953
Northern hemisphere "warp" implemented incorrectly. See #1579
Diffstat (limited to 'src')
-rw-r--r--src/projections/bertin1953.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/bertin1953.cpp b/src/projections/bertin1953.cpp
index 63154084..b864f83a 100644
--- a/src/projections/bertin1953.cpp
+++ b/src/projections/bertin1953.cpp
@@ -67,7 +67,7 @@ static PJ_XY bertin1953_s_forward (PJ_LP lp, PJ *P) {
xy.x *= 1. + d;
}
if (xy.y > 0.) {
- xy.x *= 1. + d / 1.5 * xy.x * xy.x;
+ xy.y *= 1. + d / 1.5 * xy.x * xy.x;
}
return xy;