mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 18:15:29 +01:00
permute π₁Σ generators to maintain coherent order with Aut(F_n)
This commit is contained in:
parent
3629b07626
commit
99fd238cf2
@ -155,10 +155,15 @@ function SymplecticMappingClass(
|
||||
|
||||
g = sautFn(w)
|
||||
|
||||
d = ntuple(i->gens(Σ, i), ngens(Σ))
|
||||
perm = let g = genus(Σ)
|
||||
[reverse(1+1:2:2g); reverse(1:2:2g)]
|
||||
end
|
||||
|
||||
img = evaluate!(deepcopy(d), g)
|
||||
invim = evaluate!(d, inv(g))
|
||||
d = ntuple(i->gens(Σ, i), ngens(Σ))[perm]
|
||||
|
||||
|
||||
img = evaluate!(deepcopy(d), g)[invperm(perm)]
|
||||
invim = evaluate!(d, inv(g))[invperm(perm)]
|
||||
|
||||
img, invim = inverse ? (invim, img) : (img, invim)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user