diff --git a/src/Groups/pcgroup.jl b/src/Groups/pcgroup.jl index d6a1853396a9..a28661978842 100644 --- a/src/Groups/pcgroup.jl +++ b/src/Groups/pcgroup.jl @@ -394,7 +394,7 @@ function letters(g::Union{PcGroupElem, SubPcGroupElem}) return Vector{Int}(GAPWrap.LetterRepAssocWord(w)) end -function Oscar.syllables(g::Union{PcGroupElem, SubPcGroupElem}) +function syllables(g::Union{PcGroupElem, SubPcGroupElem}) l = GAPWrap.ExtRepOfObj(GapObj(g)) @assert iseven(length(l)) return Pair{Int, ZZRingElem}[l[i-1] => l[i] for i = 2:2:length(l)] @@ -418,4 +418,4 @@ function (G::PcGroup)(sylls::Vector{Pair{Int64, ZZRingElem}}) pcgs = Oscar.GAPWrap.FamilyPcgs(GapObj(G)) x = Oscar.GAPWrap.PcElementByExponentsNC(pcgs, GapObj(e, true)) return Oscar.group_element(G, x) -end \ No newline at end of file +end