aboutsummaryrefslogtreecommitdiff
path: root/src/pj_phi2.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-05-04 22:50:43 +0300
committerGitHub <noreply@github.com>2018-05-04 22:50:43 +0300
commitbecce337ec2dc70a725f784e74e803f1276a7af2 (patch)
treef2d168a20dcd482448bdf73799f2e209c1e3b91a /src/pj_phi2.c
parent2f467d57d1846857eb8ac7e855646c19d6b66737 (diff)
parent72016ab016efe153f475a38596586fecd5b996d2 (diff)
downloadPROJ-becce337ec2dc70a725f784e74e803f1276a7af2.tar.gz
PROJ-becce337ec2dc70a725f784e74e803f1276a7af2.zip
Merge pull request #975 from schwehr/errno
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;
}