Skip to content

Commit

Permalink
FIX: WreathProductElementList
Browse files Browse the repository at this point in the history
Replace `StructuralCopy` with `ShallowCopy`.
Otherwise the list representation from the input gets replaced with the wreath product element outside of the scope.
  • Loading branch information
FriedrichRober authored Sep 19, 2024
1 parent 1ea61c7 commit 0afac32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gprd.gi
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ end);
InstallMethod( WreathProductElementListNC, "generic wreath product", true,
[ HasWreathProductInfo, IsList ], 0,
function(G, list)
return Objectify(FamilyObj(One(G))!.defaultType, StructuralCopy(list));
return Objectify(FamilyObj(One(G))!.defaultType, ShallowCopy(list));
end);

#############################################################################
Expand Down

0 comments on commit 0afac32

Please sign in to comment.