From cc1d66281413a2d93fcfb81996fcee53b88b312a Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 5 Jul 2017 16:18:37 +0200 Subject: [PATCH] fix non-parametrised dispatch of replace_all --- src/Groups.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Groups.jl b/src/Groups.jl index fefc708..e8a219c 100644 --- a/src/Groups.jl +++ b/src/Groups.jl @@ -356,7 +356,7 @@ function replace_all!{T}(W::GWord{T}, subst_dict::Dict{GWord{T}, GWord{T}}) return W end -replace_all(W::GWord, subst_dict::Dict{GWord, GWord}) = replace_all!(deepcopy(W), subst_dict) +replace_all{T<:GSymbol}(W::GWord{T}, subst_dict::Dict{GWord{T}, GWord{T}}) = replace_all!(deepcopy(W), subst_dict) ############################################################################### #