Skip to content

Commit e4e3c6a

Browse files
committed
Fixing lgtm issue in basic_graphs per #TheAlgorithms#1024
1 parent d9f5fe2 commit e4e3c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: graphs/basic_graphs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def dijk(G, s):
141141
from collections import deque
142142

143143

144-
def topo(G, ind=None, Q=[1]):
144+
def topo(G, ind=None, Q):
145145
if ind is None:
146146
ind = [0] * (len(G) + 1) # SInce oth Index is ignored
147147
for u in G:

0 commit comments

Comments
 (0)