mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
Fix arg for print_dist function
This commit is contained in:
parent
fcf82a1eda
commit
f8fcd5572c
@ -35,7 +35,7 @@ def dijkstra(graph, v, src):
|
||||
):
|
||||
mdist[i] = mdist[u] + graph[u][i]
|
||||
|
||||
print_dist(mdist, i)
|
||||
print_dist(mdist, v)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user