File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2163,7 +2163,7 @@ InstallMethod( IsSimpleAlgebra,
21632163 function ( L )
21642164 if Characteristic( LeftActingDomain( L ) ) <> 0 then
21652165 TryNextMethod ();
2166- elif DeterminantMat ( KillingMatrix( Basis( L ) ) ) = 0 then
2166+ elif RankMat ( KillingMatrix( Basis( L ) ) ) <> Dimension( L ) then
21672167 return false ;
21682168 else
21692169 return Length( DirectSumDecomposition( L ) ) = 1 ;
@@ -2371,8 +2371,7 @@ InstallMethod( SemiSimpleType,
23712371
23722372 # We test whether the Killing form of `L' is nondegenerate.
23732373
2374- d:= DeterminantMat( KillingMatrix( Basis( L ) ) );
2375- if IsZero( d ) then
2374+ if RankMat( KillingMatrix( Basis( L ) ) ) <> Dimension( L ) then
23762375 Info ( InfoAlgebra, 1 ,
23772376 " The Killing form of <L> is degenerate." );
23782377 return fail ;
@@ -2894,7 +2893,7 @@ InstallMethod( RootSystem,
28942893
28952894 F:= LeftActingDomain( L );
28962895
2897- if DeterminantMat ( KillingMatrix( Basis( L ) ) ) = Zero( F ) then
2896+ if RankMat ( KillingMatrix( Basis( L ) ) ) <> Dimension( L ) then
28982897 Info ( InfoAlgebra, 1 , " the Killing form of <L> is degenerate" );
28992898 return fail ;
29002899 fi ;
You can’t perform that action at this time.
0 commit comments