mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
coercion of AutSymbol to AutGroupElem
This commit is contained in:
parent
fbee33153f
commit
82d05315ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user