fix: WreathProductElem is typed only after GroupElem

This commit is contained in:
kalmar 2017-07-21 17:14:55 +02:00
parent b7151d1fc2
commit aad2907c51
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ end
#
###############################################################################
elem_type{T<:Group}(G::WreathProduct{T}) =
WreathProductElem{G.N.n, elem_type(T)}
elem_type{T<:Group}(G::WreathProduct{T}) = WreathProductElem{elem_type(T)}
parent_type{T<:GroupElem}(::WreathProductElem{T}) =
WreathProduct{parent_type(T)}