aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PJ_ob_tran.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PJ_ob_tran.c b/src/PJ_ob_tran.c
index afac5136..96752e8d 100644
--- a/src/PJ_ob_tran.c
+++ b/src/PJ_ob_tran.c
@@ -133,6 +133,9 @@ PJ *PROJECTION(ob_tran) {
if (!(Q->link = pj_list[i].proj(Q->link))) {
return freeup_new(P);
}
+ if( Q->link->fwd == 0 ) {
+ return freeup_new(P);
+ }
if (pj_param(P->ctx, P->params, "to_alpha").i) {
double lamc, phic, alpha;