Skip to content

Commit

Permalink
fixed pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Shanks committed Nov 1, 2017
1 parent b9da1a5 commit a5d6551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graph/find_all_cliques.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def expand_clique(candidates, nays):
nays.add(compsub.pop())

def get_connected(vertex, old_set):
newSet = set()
new_set = set()
for neighbor in edges[str(vertex)]:
if neighbor in old_set:
newSet.add(neighbor)
return newSet
new_set.add(neighbor)
return new_set

compsub = []
solutions = []
Expand Down

0 comments on commit a5d6551

Please sign in to comment.