Skip to content

Commit c9debdb

Browse files
committed
1. Removed ;
1 parent 06c7827 commit c9debdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_programming/FloydWarshall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def __init__(self, N = 0): # a graph with Node 0,1,...,N-1
88
self.dp = [[math.inf for j in range(0,N)] for i in range(0,N)] # dp[i][j] stores minimum distance from i to j
99

1010
def addEdge(self, u, v, w):
11-
self.dp[u][v] = w;
11+
self.dp[u][v] = w
1212

1313
def floyd_warshall(self):
1414
for k in range(0,self.N):

0 commit comments

Comments
 (0)