Skip to content

Commit

Permalink
Use conj in parabolic subgroup test
Browse files Browse the repository at this point in the history
Co-authored-by: Max Horn <[email protected]>
  • Loading branch information
TWiedemann and fingolfin authored Feb 3, 2025
1 parent 00a8b5b commit 489da37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions experimental/LieAlgebras/test/WeylGroup-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@
genimgs = [gen(W, i) for i in vec] # Desired images of gens(para) in W
else
# On subsequent runs, conjugate by random elements
conj = rand(W)
para, emb = parabolic_subgroup(W, vec, conj)
genimgs = [inv(conj) * gen(W, vec[i]) * conj for i in 1:length(vec)]
r = rand(W)
para, emb = parabolic_subgroup(W, vec, r)
genimgs = [conj(W[i], r) for i in vec]
end
# Test that emb maps gens(para) to genimgs
for i in 1:length(vec)
Expand Down

0 comments on commit 489da37

Please sign in to comment.