remove outer keyword (it was wrong!)

This commit is contained in:
kalmarek 2017-10-04 21:34:59 +02:00
parent a71f99670c
commit 30f44cca71
1 changed files with 1 additions and 6 deletions

View File

@ -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