Skip to content

Commit

Permalink
FIX: WreathProductElementList
Browse files Browse the repository at this point in the history
Add a test file for the bugfix
  • Loading branch information
FriedrichRober authored Sep 20, 2024
1 parent 0afac32 commit 709433d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tst/testinstall/opers/ListWreathProductElement.tst
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,19 @@ gap> list := ListWreathProductElement(G, x);;
gap> x = WreathProductElementList(G, list);
true

#
# Generic Wreath Product : Bugfix for immutable lists
#

gap> K := FreeGroup("x", "y");;
gap> AssignGeneratorVariables(K);;
gap> H := SymmetricGroup(3);;
gap> W := WreathProduct(K, H);;
gap> l := [x*y, x, y, (1,2,3)];;
gap> MakeImmutable(l);;
gap> w := WreathProductElementList(W, l);;
gap> l = [x*y, x, y, (1,2,3)]; # was previously l = w
true

#
gap> STOP_TEST("ListWreathProductElement.tst", 1);

0 comments on commit 709433d

Please sign in to comment.