aboutsummaryrefslogtreecommitdiff
path: root/src/pj_inv.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:01:23 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:01:23 +0200
commit03123018ea7090b992430ce8dd4fa6980f04d0d3 (patch)
tree5716a9475bca96c7d59870eb1673ed2aade87ab3 /src/pj_inv.c
parent8045ecfaaf8943663132ce1eb8673fff636d2ce5 (diff)
downloadPROJ-03123018ea7090b992430ce8dd4fa6980f04d0d3.tar.gz
PROJ-03123018ea7090b992430ce8dd4fa6980f04d0d3.zip
Remove superfluous checks for PJ.left being PJ_IO_UNITS_CLASSIC
Diffstat (limited to 'src/pj_inv.c')
-rw-r--r--src/pj_inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_inv.c b/src/pj_inv.c
index 55fc917f..68a5595b 100644
--- a/src/pj_inv.c
+++ b/src/pj_inv.c
@@ -42,7 +42,7 @@ LP pj_inv(XY xy, PJ *P) {
if (P->ctx->last_errno)
return err;
- if ((P->left==PJ_IO_UNITS_CLASSIC)||(P->left==PJ_IO_UNITS_RADIANS)) {
+ if (P->left==PJ_IO_UNITS_RADIANS) {
/* reduce from del lp.lam */
lp.lam += P->lam0;