diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2016-02-24 11:45:55 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@mines-paris.org> | 2016-02-24 11:45:55 +0100 |
| commit | 74adc43cd7ee6bcbe586b6e53e0830fa022e7b13 (patch) | |
| tree | c462fac03c25f294e046436b06cfdaeb284e3cc9 /src | |
| parent | c1bd0a02afc0959bab0faa0f5722345e436ae731 (diff) | |
| parent | 8c83989faff4e249e6879b165a97ccb82015752c (diff) | |
| download | PROJ-74adc43cd7ee6bcbe586b6e53e0830fa022e7b13.tar.gz PROJ-74adc43cd7ee6bcbe586b6e53e0830fa022e7b13.zip | |
Merge pull request #347 from bastik/laea-fix
unnecessary assignment in Lambert Azimuthal Equal Area
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_laea.c | 4 |
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; |
