diff --git a/OPTYap/or.cut.c b/OPTYap/or.cut.c index 9fb4dfba0..df974eb99 100644 --- a/OPTYap/or.cut.c +++ b/OPTYap/or.cut.c @@ -102,7 +102,7 @@ void prune_shared_branch(choiceptr prune_cp) { } while (Get_LOCAL_top_cp() != prune_cp); #ifdef YAPOR_ERRORS - if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, LOCAL_top_cp)) + if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(Get_LOCAL_prune_request(), Get_LOCAL_top_cp())) YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, LOCAL_top_cp) (prune_shared_branch)"); #endif /* YAPOR_ERRORS */ /* store answers not pruned */ @@ -192,7 +192,7 @@ void prune_shared_branch(choiceptr prune_cp) { } #ifdef YAPOR_ERRORS - if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, Get_LOCAL_top_cp())) + if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(Get_LOCAL_prune_request(), Get_LOCAL_top_cp())) YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, Get_LOCAL_top_cp()) (prune_shared_branch)"); #endif /* YAPOR_ERRORS */ /* store answers not pruned */