Skip to content

Commit

Permalink
convert GapElement_List to tuple in _polar_graph
Browse files Browse the repository at this point in the history
  • Loading branch information
mantepse committed Oct 27, 2024
1 parent 255761c commit 80d06e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/graphs/generators/classical_geometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def _polar_graph(m, q, g, intersection_size=None):
# and the points there
sp = [libgap.Elements(libgap.Basis(x))[0] for x in libgap.Elements(s.Subspaces(1))]
h = libgap.Set([libgap.Position(V, x) for x in sp]) # indices of the points in s
L = libgap.Orbit(gp, h, libgap.OnSets) # orbit on these subspaces
L = [tuple(o) for o in libgap.Orbit(gp, h, libgap.OnSets)] # orbit on these subspaces
if intersection_size is None:
G = Graph()
for x in L: # every pair of points in the subspace is adjacent to each other in G
Expand Down

0 comments on commit 80d06e6

Please sign in to comment.