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 _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum