1
0
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:
kalmar 2017-07-21 13:27:27 +02:00
parent 10022fd31c
commit 7989967cc4

View File

@ -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