summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graph/maxCarBiMatch.cpp2
-rw-r--r--tcr.pdfbin265592 -> 265614 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/graph/maxCarBiMatch.cpp b/graph/maxCarBiMatch.cpp
index a6a242f..0bdfd80 100644
--- a/graph/maxCarBiMatch.cpp
+++ b/graph/maxCarBiMatch.cpp
@@ -13,7 +13,7 @@ bool dfs(int v) {
}
int kuhn(int n) { // n = #Knoten links.
- pairs.assign(adjlist.size(), -1);
+ pairs.assign(NUM_VERTICES, -1);
int ans = 0;
// Greedy Matching. Optionale Beschleunigung.
for (int i = 0; i < n; i++) for (auto w : adjlist[i])
diff --git a/tcr.pdf b/tcr.pdf
index 20eb1a0..374ef23 100644
--- a/tcr.pdf
+++ b/tcr.pdf
Binary files differ