From 5b47d00cbc516a31f2f57cf64163871c132c44fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Manuel=20de=20Morais=20Santos=20Costa?= Date: Thu, 28 Jan 2010 15:43:52 +0000 Subject: [PATCH] replace by macros wherever possible. --- OPTYap/or.cut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */