1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-10-15 07:20:35 +02:00

coercion of AutSymbol to AutGroupElem

This commit is contained in:
kalmar 2017-05-15 09:52:10 +02:00
parent fbee33153f
commit 82d05315ab

View File

@ -145,6 +145,12 @@ function (F::AutGroupElem)(v::Vector)
return v
end
function (G::AutGroup)(f::AutSymbol)
g = AutGroupElem(f)
g.parent = G
return g
end
###############################################################################
#
# Basic manipulation