Skip to content

Commit

Permalink
FIX: (partial) for gap-system#2400
Browse files Browse the repository at this point in the history
Wrong `IsTrivial` set in empty submagma
  • Loading branch information
hulpke committed Apr 27, 2018
1 parent 6ceb3fc commit ce7879a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/addmagma.gi
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ InstallGlobalFunction( SubadditiveMagmaNC, function( M, gens )
if IsEmpty( gens ) then
K:= NewType( FamilyObj(M),
IsAdditiveMagma
and IsTrivial
and IsEmpty
and IsAttributeStoringRep );
S:= Objectify( K, rec() );
SetGeneratorsOfAdditiveMagma( S, [] );
Expand Down

0 comments on commit ce7879a

Please sign in to comment.