Skip to content

Commit

Permalink
Optimize an IsZeroMultiplicationRing immediate method
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and alex-konovalov committed Nov 9, 2016
1 parent e747934 commit 4a9d47e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ring.gi
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ InstallMethod( IsZeroSquaredRing,
##
InstallImmediateMethod( IsZeroMultiplicationRing,
IsRingWithOne and HasIsTrivial, 0,
function( R )
return IsTrivial(R);
end );
IsTrivial );


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

0 comments on commit 4a9d47e

Please sign in to comment.