Hello everybody, I am rather ignorant of Sage matters when it comes to finite fields. I have been playing with matrices for a while, working around a bug that I did not understand. It is now solved, but here is what it boils down to:
sage: K1 = GF(4,'w') sage: K2 = GF(8,'x') sage: K2(K1(1)) TypeError: unable to coerce from a finite field other than the prime subfield Observe that the code works if K1 and K2 both use the same variable *name*. While this behaviour is probably justified I, as a beginner, just needed to be told that both variable names should be the same. If somebody feels that this could be made clearer somehow, that could save time for the next person who will meet the problem (which was in my case hidden under layers of matrices). Note also that Matrix.base_extend has no documentation. Thanks, 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.