mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-04 10:06:27 +01:00
vararg version of overload -- with mandatory checking
This commit is contained in:
parent
10022fd31c
commit
7989967cc4
@ -87,6 +87,8 @@ end
|
||||
|
||||
(G::DirectProductGroup)(g::DirectProductGroupElem) = G(g.elts)
|
||||
|
||||
(G::DirectProductGroup){T<:GroupElem, N}(a::Vararg{T, N}) = G([a...])
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Basic manipulation
|
||||
|
Loading…
Reference in New Issue
Block a user