From 276a63a849bacb0d0c2930d173db448de293091f Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Tue, 7 Oct 2008 18:06:25 +0000 Subject: [PATCH] Also take a look at the node costs of the current node during RN reduction. [r22592] --- heuristical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heuristical.c b/heuristical.c index b4786089b..731241bdd 100644 --- a/heuristical.c +++ b/heuristical.c @@ -647,7 +647,7 @@ void apply_RN(pbqp *pbqp) } for (node_index = 0; node_index < node_len; ++node_index) { - num value = 0; + num value = node_vec->entries[node_index].data; for (edge_index = 0; edge_index < edge_len; ++edge_index) { edge = node->edges[edge_index]; -- 2.20.1