mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 02:05:30 +01:00
deepcopy_internal is handled in Groups.jl
This commit is contained in:
parent
7db7119a29
commit
f505b00502
@ -79,11 +79,6 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function deepcopy_internal(g::FreeGroupElem, dict::ObjectIdDict)
|
|
||||||
G = parent(g)
|
|
||||||
return G(FreeGroupElem(g.str, g.pow))
|
|
||||||
end
|
|
||||||
|
|
||||||
hash(s::FreeSymbol, h::UInt) = hash(s.str, hash(s.pow, hash(FreeSymbol, h)))
|
hash(s::FreeSymbol, h::UInt) = hash(s.str, hash(s.pow, hash(FreeSymbol, h)))
|
||||||
|
|
||||||
change_pow(s::FreeSymbol, n::Int) = FreeSymbol(s.str, n)
|
change_pow(s::FreeSymbol, n::Int) = FreeSymbol(s.str, n)
|
||||||
|
Loading…
Reference in New Issue
Block a user