Don't create multiplication tables just for the sake of Opposite

This commit is contained in:
Glen Whitney 2017-10-20 11:06:49 +02:00
parent 6d095fe0d3
commit 54c503e356

View File

@ -842,7 +842,7 @@ InstallGlobalFunction( OppositeLoop, L -> IntoLoop( Opposite( L ) ) );
## as can be preserved.
InstallMethod( Opposite, "for magma",
[ IsMagma ],
[ IsMagma and HasMultiplicationTable],
M -> ConstructorFromTable(M)( TransposedMat( MultiplicationTable( M ) ) )
);