aboutsummaryrefslogtreecommitdiff
path: root/src/inv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inv.cpp')
-rw-r--r--src/inv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inv.cpp b/src/inv.cpp
index 83c5498c..a05f8376 100644
--- a/src/inv.cpp
+++ b/src/inv.cpp
@@ -82,7 +82,7 @@ static PJ_COORD inv_prepare (PJ *P, PJ_COORD coo) {
coo.xyz.y *= P->ra;
return coo;
- case PJ_IO_UNITS_ANGULAR:
+ case PJ_IO_UNITS_RADIANS:
coo.lpz.z = P->vto_meter * coo.lpz.z - P->z0;
break;
}
@@ -99,7 +99,7 @@ static PJ_COORD inv_finalize (PJ *P, PJ_COORD coo) {
return proj_coord_error ();
}
- if (OUTPUT_UNITS==PJ_IO_UNITS_ANGULAR) {
+ if (OUTPUT_UNITS==PJ_IO_UNITS_RADIANS) {
/* Distance from central meridian, taking system zero meridian into account */
coo.lp.lam = coo.lp.lam + P->from_greenwich + P->lam0;