Skip to content

Commit

Permalink
Merge pull request #1516 from jfinkels/fix_atlas
Browse files Browse the repository at this point in the history
Condenses several unnecessary lines into a single line in generators.atlas
  • Loading branch information
jtorrents committed May 8, 2015
2 parents 895febe + 119497b commit 1bc0f19
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions networkx/generators/atlas.py
Expand Up @@ -12325,12 +12325,4 @@ def graph_atlas_g():
[5, 6],
[5, 7],
[6, 7]]]]

GAG=[]

for i in range(1253):
g=make_small_graph(descr_list[i])
GAG.append(g)

return GAG

return [make_small_graph(G) for G in descr_list]

0 comments on commit 1bc0f19

Please sign in to comment.