[GAP Forum] ElementaryDivisorsMat for empty matrices
Anvita
anvita21 at gmail.com
Fri Oct 17 12:38:24 BST 2014
Dear Forum,
It would be nice if ElementaryDivisorsMat[Destructive] could handle
empty matrices, viz. [], [[]], [[],[]], ... and return an empty list
instead of an error.
This may sound like a trifle, but it sometimes leads to unexpected crashes
when used in a program.
Thank you.
Anvita
gap> ElementaryDivisorsMat(Integers,[]);
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
Error, no 1st choice method found for `ElementaryDivisorsMat' on 1
arguments called from
<function "HANDLE_METHOD_NOT_FOUND">( <arguments> )
called from read-eval loop at line 2916 of *stdin*
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
More information about the Forum
mailing list