update to AbstractAlgebra

This commit is contained in:
kalmarek 2018-07-31 12:42:58 +02:00
parent df940c8c07
commit b23a98d23e
2 changed files with 5 additions and 9 deletions

View File

@ -1,11 +1,9 @@
module SpecialAutomorphisms
using Nemo
using AbstractAlgebra
using Groups
if VERSION >= v"0.6.0"
import Nemo.Generic.perm
end
import AbstractAlgebra.perm
###############################################################################
#
@ -47,12 +45,12 @@ function AutFG_emb(A::AutGroup, p::perm)
return A(Groups.perm_autsymbol(p))
end
function (g::WreathProductElem)(a::AutGroupElem)
function (g::WreathProductElem)(a::Groups.Automorphism)
g = AutFG_emb(parent(a),g)
return g*a*g^-1
end
function (p::perm)(a::AutGroupElem)
function (p::perm)(a::Groups.Automorphism)
g = AutFG_emb(parent(a),p)
return g*a*g^-1
end

View File

@ -3,9 +3,7 @@ module SpecialLinear
using Nemo
using Groups
if VERSION >= v"0.6.0"
import Nemo.Generic.perm
end
import Nemo.Generic.perm
###############################################################################
#