summaryrefslogtreecommitdiff
path: root/graph/bellmannFord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graph/bellmannFord.cpp')
-rw-r--r--graph/bellmannFord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/bellmannFord.cpp b/graph/bellmannFord.cpp
index 785a42d..7ba51c0 100644
--- a/graph/bellmannFord.cpp
+++ b/graph/bellmannFord.cpp
@@ -1,7 +1,7 @@
void bellmannFord(int n, vector<edge> edges, int start) {
vector<ll> dist(n, INF), parent(n, -1);
dist[start] = 0;
-
+
for (int i = 1; i < n; i++) {
for (edge& e : edges) {
if (dist[e.from] != INF &&