diff --git a/src/autgroups.jl b/src/autgroups.jl index 6ac0165..696270a 100644 --- a/src/autgroups.jl +++ b/src/autgroups.jl @@ -79,8 +79,8 @@ end # eye-candy -Base.show(io::IO, ::Type{<:AbstractFPGroupElement{<:AutomorphismGroup{T}}}) where {T} = - print(io, "Automorphism{$T,…}") +Base.show(io::IO, ::Type{<:FPGroupElement{<:AutomorphismGroup{T}}}) where {T} = + print(io, "Automorphism{$T, …}") Base.show(io::IO, A::AutomorphismGroup) = print(io, "automorphism group of ", object(A)) diff --git a/test/AutFn.jl b/test/AutFn.jl index b8a3f1d..c9b47c5 100644 --- a/test/AutFn.jl +++ b/test/AutFn.jl @@ -96,7 +96,7 @@ @test evaluate(g*h) == evaluate(h*g) @test (g*h).savedhash == zero(UInt) - @test sprint(show, typeof(g)) == "Automorphism{FreeGroup{Symbol},…}" + @test sprint(show, typeof(g)) == "Automorphism{FreeGroup{Symbol}, …}" a = g*h b = h*g