summaryrefslogtreecommitdiff
path: root/graph/bellmannFord.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2023-03-28 13:25:59 +0200
committermzuenni <michi.zuendorf@gmail.com>2023-03-28 13:25:59 +0200
commitfe5fa1141efeb7454c763dbd2645fb4ff04487a3 (patch)
treef2197bb94ce80ab2fae886177dfa9b0bd11538ac /graph/bellmannFord.cpp
parent3b91d2662310aee532cc84e1447824459671767e (diff)
merged
Diffstat (limited to 'graph/bellmannFord.cpp')
-rw-r--r--graph/bellmannFord.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/graph/bellmannFord.cpp b/graph/bellmannFord.cpp
index 7ba51c0..4324886 100644
--- a/graph/bellmannFord.cpp
+++ b/graph/bellmannFord.cpp
@@ -14,6 +14,4 @@ void bellmannFord(int n, vector<edge> edges, int start) {
if (dist[e.from] != INF &&
dist[e.from] + e.cost < dist[e.to]) {
// Negativer Kreis gefunden.
- }}
- //return dist, parent;
-}
+}}} //return dist, parent?;