From 9e053df1a812cce1c42bf54fb547eccb9c5cdf03 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Mon, 26 Mar 2018 00:45:02 +0200 Subject: [PATCH] Add needed convert to Automorhphism{N} --- src/AutGroup.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AutGroup.jl b/src/AutGroup.jl index 3fef9ce..ae30052 100644 --- a/src/AutGroup.jl +++ b/src/AutGroup.jl @@ -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