From 0afac326a19464b60ecab42203eebae0594165fe Mon Sep 17 00:00:00 2001 From: Friedrich Rober <37139927+FriedrichRober@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:27:11 +0200 Subject: [PATCH] FIX: WreathProductElementList Replace `StructuralCopy` with `ShallowCopy`. Otherwise the list representation from the input gets replaced with the wreath product element outside of the scope. --- lib/gprd.gi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gprd.gi b/lib/gprd.gi index 359cedfec5..e32bf13af7 100644 --- a/lib/gprd.gi +++ b/lib/gprd.gi @@ -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); #############################################################################