Re: [sage-devel] Re: A simple funny bug in Sagemath

2021-12-07 Thread William Stein
I can confirm that this is broken in sage-9.2, but it works fine in sage-9.3. You should upgrade. On Cocalc.com we keep a couple of older versions of Sage around: ~/cocalc/src/packages/next/components/account/config$ sage-.[tab] sage-9.1 sage-9.2 sage-9.3 sage-9.4 On Tue, Dec 7, 2021 at 1:5

[sage-devel] Re: A simple funny bug in Sagemath

2021-12-07 Thread Emmanuel Charpentier
WorksForMe(TM) in 9.5.beta7. Le mardi 7 décembre 2021 à 10:54:48 UTC+1, Eric Gourgoulhon a écrit : > Hi, > > It works for me with SageMath 9.4. Maybe you should upgrade to that > version (the last stable one). > > Eric. > > Le mardi 7 décembre 2021 à 09:59:42 UTC+1, duan...@gmail.com a écrit :

Re: [sage-devel] Re: Demote SageTeX to an optional package?

2021-12-07 Thread Dima Pasechnik
On Tue, Dec 7, 2021 at 12:49 PM Michael Orlitzky wrote: > > On Mon, 2021-12-06 at 19:34 -0800, Nathan Dunfield wrote: > > On Monday, December 6, 2021 at 8:39:23 AM UTC-6 Michael Orlitzky wrote: > > > > > > > > Does "sage -i" not work either? (Is there a ticket for fixing it?) > > > > > > > It does

Re: [sage-devel] Re: Demote SageTeX to an optional package?

2021-12-07 Thread Michael Orlitzky
On Mon, 2021-12-06 at 19:34 -0800, Nathan Dunfield wrote: > On Monday, December 6, 2021 at 8:39:23 AM UTC-6 Michael Orlitzky wrote: > > > > > Does "sage -i" not work either? (Is there a ticket for fixing it?) > > > > It doesn't with the recommend macOS binaries, nor does it if you install > Sa

Re: [sage-devel] SymmetricGroup.word_problem returns incorrect result

2021-12-07 Thread Linden Disney
In 9.4 I have got the following incorrect output: sage: G = PermutationGroup([[2,1,4,3,5],[2,3,4,5,1],[2,4,1,3,5]]) sage: G([1,3,5,4,2]).word_problem(G.gens()) x2^-1*x1^-1*x2*(x2*x1^-1)^2 [['(1,2,3,4,5)', -1], ['(1,2)(3,4)', -1], ['(1,2,3,4,5)', 1], ['((1,2,3,4,5)', 1], ['(1,2)(3,4)', 1]] ('x2^

[sage-devel] Re: A simple funny bug in Sagemath

2021-12-07 Thread Eric Gourgoulhon
Hi, It works for me with SageMath 9.4. Maybe you should upgrade to that version (the last stable one). Eric. Le mardi 7 décembre 2021 à 09:59:42 UTC+1, duan...@gmail.com a écrit : > If I running 3 lines codes below: > > PR. = PolynomialRing(Zmod(0x10001)) > f = (x + y) ^ 3 > print(f.factor()

[sage-devel] A simple funny bug in Sagemath

2021-12-07 Thread YuFei Duan
If I running 3 lines codes below: PR. = PolynomialRing(Zmod(0x10001)) f = (x + y) ^ 3 print(f.factor()) sagemath will crash: Unhandled SIGSEGV: A segmentation fault occurred. This probably occurred because a *compiled* mod