1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

deepcopy_internal of AutGroupElem

This commit is contained in:
kalmar 2017-05-15 09:52:46 +02:00
parent 82d05315ab
commit 26f49ce963

View File

@ -157,6 +157,11 @@ end
#
###############################################################################
function deepcopy_internal(g::AutGroupElem, dict::ObjectIdDict)
G = parent(g)
return G(AutGroupElem(g.str, g.pow, g.ex, g.func))
end
hash(s::AutSymbol, h::UInt) = hash(s.str, hash(s.pow, hash(:AutSymbol, h)))
function change_pow(s::AutSymbol, n::Int)