mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-04 18:11:26 +01:00
get rid of the old parent stuff
This commit is contained in:
parent
0519d06baa
commit
70a8a9b72d
@ -84,22 +84,15 @@ function (G::WreathProduct)(g::WreathProductElem)
|
|||||||
catch
|
catch
|
||||||
throw("Can't coerce $(g.p) to $(G.P) factor of $G")
|
throw("Can't coerce $(g.p) to $(G.P) factor of $G")
|
||||||
end
|
end
|
||||||
elt = WreathProductElem(n, p)
|
return WreathProductElem(n, p)
|
||||||
# elt.parent = G
|
|
||||||
return elt
|
|
||||||
end
|
end
|
||||||
|
|
||||||
doc"""
|
doc"""
|
||||||
(G::WreathProduct)(n::DirectProductGroupElem, p::perm)
|
(G::WreathProduct)(n::DirectProductGroupElem, p::perm)
|
||||||
> Creates an element of wreath product `G` by coercing `n` and `p` to `G.N` and
|
> Creates an element of wreath product `G` by coercing `n` and `p` to `G.N` and
|
||||||
> `G.P`, respectively.
|
> `G.P`, respectively.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
function (G::WreathProduct)(n::DirectProductGroupElem, p::perm)
|
(G::WreathProduct)(n::DirectProductGroupElem, p::perm) = WreathProductElem(n,p)
|
||||||
result = WreathProductElem(n,p)
|
|
||||||
# result.parent = G
|
|
||||||
return result
|
|
||||||
end
|
|
||||||
|
|
||||||
(G::WreathProduct)() = WreathProductElem(G.N(), G.P(), false)
|
(G::WreathProduct)() = WreathProductElem(G.N(), G.P(), false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user