From b3b7cacd85e6ac3ff0c7c6e223ce95e46eadb569 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 6 Oct 2008 06:58:25 +0000 Subject: [PATCH] Do not fetch a node index if we have a perfectly fine pointer already at hand. [r22509] --- heuristical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heuristical.c b/heuristical.c index f2c77f346..7605ffb58 100644 --- a/heuristical.c +++ b/heuristical.c @@ -288,7 +288,7 @@ void solve_pbqp_heuristical(pbqp *pbqp) pbqp_edge *edge = edges[edge_index]; /* Simplify only once per edge. */ - if (node_index != edge->src->index) continue; + if (node != edge->src) continue; simplify_edge(pbqp, edge); } -- 2.20.1