Skip to content

Commit e292ddb

Browse files
Update basic_graphs.py (#1990)
* Update basic_graphs.py missing return statement line no:223. * Update basic_graphs.py Co-authored-by: vinayak <[email protected]>
1 parent 423dd2b commit e292ddb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphs/basic_graphs.py

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ def prim(G, s):
220220
if v[1] < dist.get(v[0], 100000):
221221
dist[v[0]] = v[1]
222222
path[v[0]] = u
223+
return dist
223224

224225

225226
"""

0 commit comments

Comments
 (0)