typed elem_type
This commit is contained in:
parent
78eded0124
commit
6b84254416
|
@ -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
|
parent_type(::Type{DirectProductGroupElem}) = DirectProductGroup
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue