Skip to content

Commit

Permalink
Don't check for view format of matrices in HPCGAP
Browse files Browse the repository at this point in the history
which for some reason keeps old format.
  • Loading branch information
hulpke committed Mar 24, 2022
1 parent 9d480e3 commit cb965bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions tst/testinstall/vecmat.tst
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,12 @@ gap> F := Integers mod 6;; m := IdentityMat( 3, F );
[ [ ZmodnZObj( 1, 6 ), ZmodnZObj( 0, 6 ), ZmodnZObj( 0, 6 ) ],
[ ZmodnZObj( 0, 6 ), ZmodnZObj( 1, 6 ), ZmodnZObj( 0, 6 ) ],
[ ZmodnZObj( 0, 6 ), ZmodnZObj( 0, 6 ), ZmodnZObj( 1, 6 ) ] ]
gap> w := ImmutableMatrix( F, m );
<immutable matrix mod 6: [ [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ]>
gap> w := ImmutableMatrix( F, m );;
gap> m = w;
true
gap> IsMutable(w);
false
gap> w := ImmutableMatrix( F, m, true );
<immutable matrix mod 6: [ [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ]>
gap> w := ImmutableMatrix( F, m, true );;
gap> m = w;
true
gap> IsMutable(w);
Expand Down
3 changes: 1 addition & 2 deletions tst/testinstall/zmodnz.tst
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ gap> one:= One( A );
[ [ ZmodnZObj( 1, 6 ), ZmodnZObj( 0, 6 ) ],
[ ZmodnZObj( 0, 6 ), ZmodnZObj( 1, 6 ) ] ]
gap> G:= GroupWithGenerators( [ one ] );;
gap> One( G );
<immutable matrix mod 6: [ [ 1, 0 ], [ 0, 1 ] ]>
gap> One( G );;
gap> m:=[[4,1],[1,5]] * ZmodnZObj(1,6);;
gap> m in A; m in G;
true
Expand Down

0 comments on commit cb965bd

Please sign in to comment.