# HG changeset patch
# User Nathann Cohen <nathann.cohen@gmail.com>
# Date 1341065087 7200
# Node ID b38747841416abc8d3cc35f19cbf7627b08298ad
# Parent 5a57512a495b939f36a01e8f32f7ae96b9422355
HallJanko graph  bugfix and speedup
diff git a/sage/graphs/graph_generators.py b/sage/graphs/graph_generators.py
a

b


1612  1612  "HB`CQCp[WFQGgIQgkJQ{rLbc{Nc@APsdLRt@PSt\\WUtt_Wn") 
1613  1613  
1614  1614  if from_string: 
1615   g = graph.Graph(string) 
 1615  g = graph.Graph(string, loops = False, multiedges = False) 
1616  1616  else: 
1617  1617  
1618  1618  # The following construction is due to version 3 of the ATLAS of 
… 
… 

1637  1637  "(70,81,75)(79,100,83);") 
1638  1638  
1639  1639  gap.eval("G := Group([g1,g2]);") 
1640   edges = gap('Orbit(G,[1,5],OnSets)') 
1641   
1642   g = graph([(int(u), int(v)) for u, v in edges]) 
 1640  edges = gap('Orbit(G,[1,5],OnSets)').sage() 
 1641  g = graph.Graph(edges) 
1643  1642  g.relabel() 
1644  1643  
1645  1644  _circle_embedding(g, range(100)) 