# HG changeset patch # User klao # Date 1079032792 0 # Node ID ec3d3596e3c94d7bc1c3cb67427ec515e8f1a7d4 # Parent 9091b1ebca27a29665a12283595a4023ebb5563f hurokeles bug diff -r 9091b1ebca27 -r ec3d3596e3c9 src/work/jacint/dijkstra.h --- a/src/work/jacint/dijkstra.h Thu Mar 11 18:17:20 2004 +0000 +++ b/src/work/jacint/dijkstra.h Thu Mar 11 19:19:52 2004 +0000 @@ -77,6 +77,7 @@ T oldvalue=heap.get(v); heap.pop(); distance.set(v, oldvalue); + scanned.set(v,true); OutEdgeIt e; for( G.getFirst(e,v); G.valid(e); G.next(e)) { @@ -93,7 +94,6 @@ } } } - scanned.set(v,true); } }