diff -r fe81c4b117f4 -r bf7aea53635a src/work/edmonds_karp.h --- a/src/work/edmonds_karp.h Tue Mar 30 13:18:10 2004 +0000 +++ b/src/work/edmonds_karp.h Tue Mar 30 13:37:21 2004 +0000 @@ -479,8 +479,8 @@ // } MutableGraph F; - typedef SubGraphWrapper > FilterResGraph; - FilterResGraph filter_res_graph(res_graph, dist); + //typedef SubGraphWrapper > FilterResGraph; + //FilterResGraph filter_res_graph(res_graph, dist); typename AugGraph::NodeMap res_graph_to_F(res_graph); for(typename AugGraph::NodeIt n=res_graph.template first(); res_graph.valid(n); res_graph.next(n)) { @@ -495,7 +495,9 @@ //Making F to the graph containing the edges of the residual graph //which are in some shortest paths - for(typename AugGraph::EdgeIt e=res_graph.template first(); res_graph.valid(e); res_graph.next(e)) { + for(typename AugGraph::EdgeIt e=res_graph.template first(); + res_graph.valid(e); + res_graph.next(e)) { if (dist.get(res_graph.head(e))==dist.get(res_graph.tail(e))+1) { typename MutableGraph::Edge f=F.addEdge(res_graph_to_F.get(res_graph.tail(e)), res_graph_to_F.get(res_graph.head(e))); original_edge.update();