mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2025-01-04 20:30:29 +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 == 0 && return AutGroup(G, AutSymbol[])
|
||||
S = AutSymbol[]
|
||||
@ -122,11 +122,6 @@ function AutGroup(G::FreeGroup; outer=false, special=false)
|
||||
flips = [flip_autsymbol(i) for i in 1:n]
|
||||
append!(S, flips)
|
||||
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)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user