aboutsummaryrefslogtreecommitdiff
path: root/src/projections/cc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections/cc.cpp')
-rw-r--r--src/projections/cc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/cc.cpp b/src/projections/cc.cpp
index 244e185d..f15a95bd 100644
--- a/src/projections/cc.cpp
+++ b/src/projections/cc.cpp
@@ -12,7 +12,7 @@ PROJ_HEAD(cc, "Central Cylindrical") "\n\tCyl, Sph";
static PJ_XY cc_s_forward (PJ_LP lp, PJ *P) { /* Spheroidal, forward */
PJ_XY xy = {0.0,0.0};
if (fabs (fabs(lp.phi) - M_HALFPI) <= EPS10) {
- proj_errno_set(P, PJD_ERR_TOLERANCE_CONDITION);
+ proj_errno_set(P, PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN);
return xy;
}
xy.x = lp.lam;