1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2025-01-11 14:02:33 +01:00

Add needed convert to Automorhphism{N}

This commit is contained in:
kalmarek 2018-03-26 00:45:02 +02:00
parent a7bf32145c
commit 9e053df1a8

View File

@ -174,6 +174,10 @@ end
#
###############################################################################
function convert(::Type{Automorphism{N}}, s::AutSymbol) where N
return Automorphism{N}(AutSymbol[s])
end
function (G::AutGroup{N})() where N
id = Automorphism{N}(id_autsymbol())
id.parent = G