Skip to content

Commit

Permalink
Fix bug in ElementOfMagmaRing
Browse files Browse the repository at this point in the history
Code was trying to objectify an object
  • Loading branch information
fingolfin committed Jan 7, 2025
1 parent 8c9d090 commit 151f7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mgmring.gi
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ InstallMethod( ElementOfMagmaRing,
[ zerocoeff, rep ] );

# Return the result.
return Objectify( Fam!.defaultType, rep );
return Objectify( Fam!.defaultType, [rep![1], rep![2]] );
end );


Expand Down

0 comments on commit 151f7b0

Please sign in to comment.