Skip to content

Commit

Permalink
Fix TriangulizedMat([])
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 11, 2018
1 parent 903cdfc commit 95b2b30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/matrix.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2949,6 +2949,9 @@ local m;
return m;
end);

InstallOtherMethod( TriangulizedMat, "for an empty list", [ IsList and IsEmpty ],
mat -> []);

#############################################################################
##
#M UpperSubdiagonal( <mat>, <pos> )
Expand Down

0 comments on commit 95b2b30

Please sign in to comment.