Hi,

I cannot understand why the following error occurs:

sage: F.<a>=GF(2^4)
sage: G=matrix(2,[1,0,a+1,a,a^3,a^2]); G
[    1     0 a + 1]
[    a   a^3   a^2]
sage: code=LinearCode(G); code
Linear code of length 3, dimension 2 over Finite Field in a of size
2^4
sage: code.minimum_distance()
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime
subfield


I am using Sage 4.1.1.

Kwankyu
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to