aboutsummaryrefslogtreecommitdiff
path: root/src/pj_phi2.c
diff options
context:
space:
mode:
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;
}