aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorR. Schmunk <8718035+rschmunk@users.noreply.github.com>2019-09-03 19:56:03 +0000
committerGitHub <noreply@github.com>2019-09-03 19:56:03 +0000
commit8db35665e0f223cdb8c67e2b2cf0a7e0c790740b (patch)
tree13432ac089df32f2d48da5ea88be16fa96a59e16 /src
parent355f43ca41ac4e9a01037e6481ce611da9c13805 (diff)
downloadPROJ-8db35665e0f223cdb8c67e2b2cf0a7e0c790740b.tar.gz
PROJ-8db35665e0f223cdb8c67e2b2cf0a7e0c790740b.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;