Skip to content

Commit

Permalink
orbit_representatives_and_stabilizers for 0-dim. subspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Jan 14, 2025
1 parent e993383 commit c79b3bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Groups/gsets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,7 @@ function orbit_representatives_and_stabilizers(G::MatrixGroup{E}, k::Int) where
n = degree(G)
q = GAP.Obj(order(F))
V = vector_space(F, n)
k == 0 && return [(sub(V, [])[1], G)]
# Note that GAP anyhow unpacks all subspaces.
l = GAP.Globals.AsSSortedList(GAP.Globals.Subspaces(GAPWrap.GF(q)^n, k))::GapObj
ll = GAP.Globals.List(l,
Expand Down
3 changes: 1 addition & 2 deletions test/Groups/gsets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ end
GL = general_linear_group(n, F)
S = sylow_subgroup(GL, 2)[1]
for G in [GL, S]
# for k in 0:n # k = 0 is a problem in GAP 4.12.0
for k in 1:n
for k in 0:n
res = orbit_representatives_and_stabilizers(G, k)
total = ZZ(0)
for (U, stab) in res
Expand Down

0 comments on commit c79b3bf

Please sign in to comment.