> > GF(4) is not a subfield of GF(8). > Oh. Right. Actually, the problem with my code happened when both finite fields were equal, and I wrote this message without thinking.
sage: K1 = GF(8,'a') sage: K2 = GF(8,'b') sage: K2(K1(1)) TypeError: unable to coerce from a finite field other than the prime subfield Perhaps it is then easier to solve. Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.