Update graph/bounded_flow.cc
Signed-off-by: subcrip <contact@subc.rip>
This commit is contained in:
parent
76d705f0a2
commit
9734205fb6
|
@ -29,7 +29,7 @@ struct bounded_flow {
|
|||
for (int from = 1; from <= n; ++from) {
|
||||
for (auto&& [to, cap, flow, rev, mark] : net.edges[from]) {
|
||||
if (mark != -1) {
|
||||
fl[mark] = flow;
|
||||
fl[mark] += flow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue