aboutsummaryrefslogtreecommitdiff
path: root/src/pj_phi2.c
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
committerKurt Schwehr <schwehr@google.com>2018-05-04 09:01:27 -0700
commit72016ab016efe153f475a38596586fecd5b996d2 (patch)
treef2d168a20dcd482448bdf73799f2e209c1e3b91a /src/pj_phi2.c
parent2f467d57d1846857eb8ac7e855646c19d6b66737 (diff)
downloadPROJ-72016ab016efe153f475a38596586fecd5b996d2.tar.gz
PROJ-72016ab016efe153f475a38596586fecd5b996d2.zip
Convert errno literals to corresponding PJD symbol
Diffstat (limited to 'src/pj_phi2.c')
-rw-r--r--src/pj_phi2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_phi2.c b/src/pj_phi2.c
index 00b73f70..13419df8 100644
--- a/src/pj_phi2.c
+++ b/src/pj_phi2.c
@@ -23,6 +23,6 @@ pj_phi2(projCtx ctx, double ts, double e) {
break;
}
if (i <= 0)
- pj_ctx_set_errno( ctx, -18 );
+ pj_ctx_set_errno( ctx, PJD_ERR_NON_CON_INV_PHI2 );
return Phi;
}