aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_cea.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_cea.c')
-rw-r--r--src/PJ_cea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_cea.c b/src/PJ_cea.c
index 97e4f3aa..786eadcb 100644
--- a/src/PJ_cea.c
+++ b/src/PJ_cea.c
@@ -42,8 +42,8 @@ FREEUP;
ENTRY1(cea, apa)
double t;
- if (pj_param(P->params, "tlat_ts").i &&
- (P->k0 = cos(t = pj_param(P->params, "rlat_ts").f)) < 0.) E_ERROR(-24)
+ if (pj_param(P->ctx, P->params, "tlat_ts").i &&
+ (P->k0 = cos(t = pj_param(P->ctx, P->params, "rlat_ts").f)) < 0.) E_ERROR(-24)
else
t = 0.;
if (P->es) {