From 9395c8e2f079a4cdbc2416c5b007be7f07ce5a84 Mon Sep 17 00:00:00 2001 From: kalmar Date: Mon, 15 May 2017 17:28:58 +0200 Subject: [PATCH] more accurate show for FreeGroup --- src/FreeGroup.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FreeGroup.jl b/src/FreeGroup.jl index 6b701e6..7e70f84 100644 --- a/src/FreeGroup.jl +++ b/src/FreeGroup.jl @@ -99,8 +99,8 @@ generators(G::FreeGroup) = [G(FreeGroupElem(g)) for g in G.gens] ############################################################################### function show(io::IO, G::FreeGroup) - print(io, "Finitely presented group on $(length(G.gens)) generators:\n") - print(io, "gens:\t", join([g.str for g in G.gens], ", ")) + print(io, "Free group on $(length(G.gens)) generators: ") + join(io, G.gens, ", ") end ###############################################################################