Ask Your Question

Revision history [back]

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

sage: K = GF(8,'a')
sage: for x in K:
....:     x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048 for that issue.

Vincent

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

sage: K = GF(8,'a')
sage: for x in K:
....:     print x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     print x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048 for that issue.

Vincent

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

sage: K = GF(8,'a')
sage: for x in K:
....:     print x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     print x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048trac ticket #18048 for that issue.

Vincent