Bug #1189
Updated by John Abbott almost 6 years ago
@HilbertBasisKer@ gives an unhelpful error sometimes:
<pre>
M:=ColMat([-2,-5]); M:=ColMat([-2,-5]]);
HilbertBasisKer(M);
--> ERROR: Cannot index an empty list
--> WHERE: at line 673 (column 23) of misc.cpkg5
--> FromRing := owner(L[1]);
--> ^
</pre>
<pre>
M:=ColMat([-2,-5]); M:=ColMat([-2,-5]]);
HilbertBasisKer(M);
--> ERROR: Cannot index an empty list
--> WHERE: at line 673 (column 23) of misc.cpkg5
--> FromRing := owner(L[1]);
--> ^
</pre>