Re: [sage-support] Re: Coercion bug message when working with group algebras

2022-08-11 Thread keirh...@gmail.com
Ah, thanks! On Thursday, August 11, 2022 at 4:12:34 PM UTC-4 trevor...@gmail.com wrote: > There is a description/proposed fix of the problem on this trac ticket: > https://trac.sagemath.org/ticket/34292 > > On Thursday, August 11, 2022 at 12:44:59 PM UTC-7 keirh...@gmail.com > w

Re: [sage-support] Re: Coercion bug message when working with group algebras

2022-08-11 Thread keirh...@gmail.com
he behavior you > described is consistent with what I think the problem is. If the x in the > new example doesn’t have a summand of kH.one() then I’m misunderstanding > something. > > On Sat, Aug 6, 2022 at 6:00 PM keirh...@gmail.com > wrote: > >> Thanks for this wor

[sage-support] Re: Coercion bug message when working with group algebras

2022-08-06 Thread keirh...@gmail.com
coercion_error(x, x_map, x_elt, y, y_map, y_elt) > > * 1333* > > * 1334* cdef bint x_numeric = isinstance(x, (int, long, float, complex)) > > > File ~/Applications/sage/src/sage/structure/coerce.pyx:2031, in > sage.structure.coerce.CoercionModel._coercion_error() > &g

[sage-support] Re: Coercion bug message when working with group algebras

2022-08-05 Thread keirh...@gmail.com
The Sage version I was using is 9.6. On Friday, August 5, 2022 at 7:19:48 PM UTC-4 keirh...@gmail.com wrote: > When I do this: > > > > > > *H = PermutationGroup([ [(1,2), (3,4)], [(5,6,7),(12,14,18)] ])kH = > H.algebra(GF(2))[a, b] = H.gens()x = kH(a) + kH(b) + kH.one()

[sage-support] Coercion bug message when working with group algebras

2022-08-05 Thread keirh...@gmail.com
When I do this: *H = PermutationGroup([ [(1,2), (3,4)], [(5,6,7),(12,14,18)] ])kH = H.algebra(GF(2))[a, b] = H.gens()x = kH(a) + kH(b) + kH.one(); print(x)x*x* I get an error caused by the last computation: "RuntimeError: There is a bug in the coercion code in Sage." (I was working in Cocal