Re: [sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread Dima Pasechnik
On Fri, Nov 22, 2019 at 6:16 PM SUSANTA SAMANTA wrote: > > Thanks David for point out the issue. But when I get the error for the code, > this error happens for the next code as well as like when I run > K.=GF(2^6, modulus=x^6 + x^4 + x^3 + x + 1) > K > But the error goes away if I run (told by D

Re: [sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread SUSANTA SAMANTA
Thanks David for point out the issue. But when I get the error for the code, this error happens for the next code as well as like when I run K.=GF(2^6, modulus=x^6 + x^4 + x^3 + x + 1) K But the error goes away if I run (told by Dima ) T.=GF(2)[] K.=GF(2^6, modulus=x^6 + x^4 + x^3 + x + 1) K So I t

Re: [sage-devel] Re: [sage-support] Error in operations of finite field

2019-11-22 Thread David Roe
The issue is that you redefined x after defining K. I wrote more on the ticket. David On Fri, Nov 22, 2019 at 1:57 AM Dima Pasechnik wrote: > This is a variable name clash. Somehow, using 'x' for modulus creates a > problem. > If I instead do > > T.=GF(2)[] > K.=GF(2^6, modulus=xx^6 + xx^4 + xx