aboutsummaryrefslogtreecommitdiff
path: root/src/generic_inverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic_inverse.cpp')
-rw-r--r--src/generic_inverse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generic_inverse.cpp b/src/generic_inverse.cpp
index ddd5060b..41cf6c50 100644
--- a/src/generic_inverse.cpp
+++ b/src/generic_inverse.cpp
@@ -109,6 +109,7 @@ PJ_LP pj_generic_inverse_2d(PJ_XY xy, PJ *P, PJ_LP lpInitial) {
lp.phi = M_HALFPI;
}
}
- proj_context_errno_set(P->ctx, PJD_ERR_NON_CONVERGENT);
+ proj_context_errno_set(P->ctx,
+ PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN);
return lp;
}