aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_laea.c
diff options
context:
space:
mode:
authorPaul Hartmann <phaaurlt@gmail.com>2016-02-04 22:47:02 +0100
committerPaul Hartmann <phaaurlt@gmail.com>2016-02-04 22:47:02 +0100
commit8c83989faff4e249e6879b165a97ccb82015752c (patch)
treea905e0d8052fa32fe57c466978c3b611ae46000f /src/PJ_laea.c
parenta12bfb7c207449c9768fa7591684a0240d2e6898 (diff)
downloadPROJ-8c83989faff4e249e6879b165a97ccb82015752c.tar.gz
PROJ-8c83989faff4e249e6879b165a97ccb82015752c.zip
fixed #347 - unnecessary assignment in Lambert Azimuthal Equal Area
Diffstat (limited to 'src/PJ_laea.c')
-rw-r--r--src/PJ_laea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_laea.c b/src/PJ_laea.c
index d32bb0be..445e39c3 100644
--- a/src/PJ_laea.c
+++ b/src/PJ_laea.c
@@ -115,10 +115,10 @@ INVERSE(e_inverse); /* ellipsoid */
cCe = cos(sCe = 2. * asin(.5 * rho / P->rq));
xy.x *= (sCe = sin(sCe));
if (P->mode == OBLIQ) {
- q = P->qp * (ab = cCe * P->sinb1 + xy.y * sCe * P->cosb1 / rho);
+ ab = cCe * P->sinb1 + xy.y * sCe * P->cosb1 / rho;
xy.y = rho * P->cosb1 * cCe - xy.y * P->sinb1 * sCe;
} else {
- q = P->qp * (ab = xy.y * sCe / rho);
+ ab = xy.y * sCe / rho;
xy.y = rho * cCe;
}
break;