summaryrefslogtreecommitdiff
path: root/content/graph/pushRelabel.cpp
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2024-08-13 17:14:17 +0200
committerMZuenni <michi.zuendorf@gmail.com>2024-08-13 17:14:17 +0200
commitf32a00178f0d3b2152a6fc1dc492c987aaede85f (patch)
treefbc52e3475de069ed8b63513f98105bbc0728d6c /content/graph/pushRelabel.cpp
parent6fd4266de544582c0609a2fa204e0e49cd390c6e (diff)
small improvements
Diffstat (limited to 'content/graph/pushRelabel.cpp')
-rw-r--r--content/graph/pushRelabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/graph/pushRelabel.cpp b/content/graph/pushRelabel.cpp
index 73a9eae..ec36026 100644
--- a/content/graph/pushRelabel.cpp
+++ b/content/graph/pushRelabel.cpp
@@ -29,7 +29,7 @@ ll maxFlow(int s, int t) {
cur.assign(n, 0);
H.assign(n, 0);
H[s] = n;
- ec[t] = 1;//never set t to active...
+ ec[t] = 1; //never set t to active...
vector<int> co(2*n);
co[0] = n - 1;
for (Edge& e : adj[s]) addFlow(e, e.c);