mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 18:15:29 +01:00
fix type instability in domain
This commit is contained in:
parent
84d601817c
commit
60c04f0dbd
@ -137,7 +137,11 @@ function perm_autsymbol(a::Vector{T}) where T<:Integer
|
||||
return perm_autsymbol(perm(Vector{Int8}(a), false))
|
||||
end
|
||||
|
||||
domain(G::AutGroup)= NTuple{length(G.objectGroup.gens), FreeGroupElem}(gens(G.objectGroup))
|
||||
function domain(G::AutGroup{N}) where N
|
||||
F = G.objectGroup
|
||||
gg = gens(F)
|
||||
return ntuple(i->gg[i], Val{N})
|
||||
end
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user