changeset 986 | e997802b855c |
parent 959 | c80ef5912903 |
child 1164 | 80bb73097736 |
1.1 --- a/src/test/preflow_test.cc Sat Nov 13 12:24:01 2004 +0000 1.2 +++ b/src/test/preflow_test.cc Sat Nov 13 12:53:28 2004 +0000 1.3 @@ -67,7 +67,7 @@ 1.4 1.5 int c=0; 1.6 for(SmartGraph::EdgeIt e(g); e!=INVALID; ++e) { 1.7 - if (cut[g.tail(e)] && !cut[g.head(e)]) c+=cap[e]; 1.8 + if (cut[g.source(e)] && !cut[g.target(e)]) c+=cap[e]; 1.9 } 1.10 return c; 1.11 }