diff options
Diffstat (limited to 'graph/bellmannFord.cpp')
| -rw-r--r-- | graph/bellmannFord.cpp | 4 |
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?; |
