1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-25 02:05:30 +01:00

fix non-parametrised dispatch of replace_all

This commit is contained in:
kalmar 2017-07-05 16:18:37 +02:00
parent 6c8591b1d4
commit cc1d662814

View File

@ -356,7 +356,7 @@ function replace_all!{T}(W::GWord{T}, subst_dict::Dict{GWord{T}, GWord{T}})
return W return W
end 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)
############################################################################### ###############################################################################
# #