mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 14:35:28 +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)
|
function hash(G::DirectProductGroup, h::UInt)
|
||||||
return hash(G.group, hash(G.n, hash(DirectProductGroup,h)))
|
return hash(G.group, hash(G.n, hash(DirectProductGroup,h)))
|
||||||
end
|
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)
|
function hash(G::WreathProduct, h::UInt)
|
||||||
return hash(G.N, hash(G.P, hash(WreathProduct, h)))
|
return hash(G.N, hash(G.P, hash(WreathProduct, h)))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user