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

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

2019-11-22 Thread SUSANTA SAMANTA
Thanks a lot. T.=GF(2)[] K.=GF(2^6, modulus=xx^6 + xx^4 + xx^3 + xx + 1) is working perfectly. Also adding T.=GF(2)[] before K.=GF(2^6, modulus=x^6 + x^4 + x^3 + x + 1) works. On Fri, 22 Nov, 2019, 3:27 PM Dima Pasechnik, wrote: > This is a variable name clash. Somehow, using 'x' for modulus cre

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

2019-11-22 Thread Dima Pasechnik
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^3 + xx + 1) ... then everything works as expected. On Fri, Nov 22, 2019 at 9:51 AM Dima Pasechnik wrote: > > This is now https://trac.sagemath.org/tic

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

2019-11-22 Thread Dima Pasechnik
This is now https://trac.sagemath.org/ticket/28786 Note that it only happens if modulus is explicitly given. On Fri, Nov 22, 2019 at 9:47 AM Dima Pasechnik wrote: > > yes, I can confirm this is still giving an error in the latest Sage > beta. (9.0.beta6). > Note that actually it's two identical i

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

2019-11-22 Thread Dima Pasechnik
yes, I can confirm this is still giving an error in the latest Sage beta. (9.0.beta6). Note that actually it's two identical inputs, the 2nd executed after the 1st gives the error. I'll open a ticket. On Fri, Nov 22, 2019 at 7:53 AM Samanta wrote: > > I did not understand why the error has occur