a gf-bug



Hello,

gf_set(2,1,x);
 [1,x]
gf_primitive();
 1
gf_primitive_p(1);

Maxima encountered a Lisp error:

 In function ARRAY-DIMENSION, the value of the only argument is
   NIL
   which is not of the expected type ARRAY

Similar with p=3 etc.


As far as I remember, the old gf-implementation had problems with the
case of the fields of order p in general, so it might be worth checking
these cases.

Greetings

Oliver