typed elem_type

This commit is contained in:
kalmar 2017-07-12 21:06:07 +02:00
parent 78eded0124
commit 6b84254416
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ end
#
###############################################################################
elem_type(G::DirectProductGroup) = DirectProductGroupElem
elem_type{T<:Group}(G::DirectProductGroup{T}) = DirectProductGroupElem{elem_type(first(G.factors))}
parent_type(::Type{DirectProductGroupElem}) = DirectProductGroup