Skip to content

Commit fb68f5a

Browse files
authored
Update bellman_ford_sp.py
Change the name of the class.
1 parent eb99c7b commit fb68f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algs4/bellman_ford_sp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
POSITIVE_INFINITY = 999999.0
55

66

7-
class DijkstraSP:
7+
class BellmanFordSP:
88
def __init__(self, g, s):
99
self.cost = 0
1010
self.cycle = None

0 commit comments

Comments
 (0)