From 53bcb8f24f63b3905a7f3d6cd858ff4fc0e9da85 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Fri, 30 Jul 2010 13:53:17 +0000 Subject: [PATCH] Do not count an RM as R1, too. [r27856] --- optimal.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/optimal.c b/optimal.c index 97deba6ac..7f171820e 100644 --- a/optimal.c +++ b/optimal.c @@ -425,6 +425,10 @@ static void merge_source_into_target(pbqp *pbqp, pbqp_edge *edge) /* Reduce the remaining source node via RI. */ apply_RI(pbqp); + +#if KAPS_STATISTIC + pbqp->num_r1--; +#endif } /** @@ -583,6 +587,10 @@ static void merge_target_into_source(pbqp *pbqp, pbqp_edge *edge) /* Reduce the remaining source node via RI. */ apply_RI(pbqp); + +#if KAPS_STATISTIC + pbqp->num_r1--; +#endif } /** -- 2.20.1