Skip to content

Commit 2f8be62

Browse files
authored
Update prims_minimum_spanning.py
function name changed
1 parent 581be00 commit 2f8be62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/graph/prims_minimum_spanning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import heapq # for priority queue
1919

2020
# prim's algo. to find weight of minimum spanning tree
21-
def prims(graph_used):
21+
def prims_minimum_spanning(graph_used):
2222
vis=[]
2323
s=[[0,1]]
2424
prim = []

0 commit comments

Comments
 (0)