src/work/athos/bfs_test.cc
changeset 986 e997802b855c
parent 921 818510fa3d99
     1.1 --- a/src/work/athos/bfs_test.cc	Sat Nov 13 12:24:01 2004 +0000
     1.2 +++ b/src/work/athos/bfs_test.cc	Sat Nov 13 12:53:28 2004 +0000
     1.3 @@ -41,7 +41,7 @@
     1.4        bfs_queue.pop();
     1.5        OutEdgeIt e;
     1.6        for(g.first(e,v); g.valid(e); g.next(e)) {
     1.7 -	Node w=g.head(e);
     1.8 +	Node w=g.target(e);
     1.9  	if (!reached[w]) {
    1.10  	  bfs_queue.push(w);
    1.11  	  reached.set(w, true);