mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2025-01-07 21:15:28 +01:00
remove outer keyword (it was wrong!)
This commit is contained in:
parent
a71f99670c
commit
30f44cca71
@ -109,7 +109,7 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function AutGroup(G::FreeGroup; outer=false, special=false)
|
function AutGroup(G::FreeGroup; special=false)
|
||||||
n = length(G.gens)
|
n = length(G.gens)
|
||||||
n == 0 && return AutGroup(G, AutSymbol[])
|
n == 0 && return AutGroup(G, AutSymbol[])
|
||||||
S = AutSymbol[]
|
S = AutSymbol[]
|
||||||
@ -122,11 +122,6 @@ function AutGroup(G::FreeGroup; outer=false, special=false)
|
|||||||
flips = [flip_autsymbol(i) for i in 1:n]
|
flips = [flip_autsymbol(i) for i in 1:n]
|
||||||
append!(S, flips)
|
append!(S, flips)
|
||||||
end
|
end
|
||||||
if !outer
|
|
||||||
perms = collect(elements(PermutationGroup(n)))
|
|
||||||
perms = [perm_autsymbol(p) for p in perms[2:end]] # leave the identity
|
|
||||||
append!(S, perms)
|
|
||||||
end
|
|
||||||
return AutGroup(G, S)
|
return AutGroup(G, S)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user