mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-04 10:06:27 +01:00
remove specialized deepcopy
This commit is contained in:
parent
78abdc3181
commit
d78f1ec38a
@ -177,11 +177,6 @@ end
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
function deepcopy_internal(g::DirectProductGroupElem, dict::ObjectIdDict)
|
||||
G = parent(g)
|
||||
return G(deepcopy(g.elts))
|
||||
end
|
||||
|
||||
function hash(G::DirectProductGroup, h::UInt)
|
||||
return hash(G.group, hash(G.n, hash(DirectProductGroup,h)))
|
||||
end
|
||||
|
@ -118,10 +118,6 @@ doc"""
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
function deepcopy_internal(g::WreathProductElem, dict::ObjectIdDict)
|
||||
return WreathProductElem(deepcopy(g.n), deepcopy(g.p), false)
|
||||
end
|
||||
|
||||
function hash(G::WreathProduct, h::UInt)
|
||||
return hash(G.N, hash(G.P, hash(WreathProduct, h)))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user