[sage-support] Re: Multiple calls of irreducible_character() have incompatible output

2021-06-23 Thread Ronno Das
Yes, I wrote a wrapper that calls irreducible_characters() once and caches the results. There seems to be more issues about the output though, for example char_1.symmetric_power(2) throws an error. I think ClassFunction(G, char_1.values()) works as expected, but that's again a workaround and mi

[sage-support] Multiple calls of irreducible_character() have incompatible output

2021-06-23 Thread Ronno Das
The following code throws the error "GAPError: Error, no method found! Error, no 1st choice method found for `=' on 2 arguments": G = SymmetricGroup(3) char_1 = G.irreducible_character()[0] char_2 = G.irreducible_character()[0] char_1.scalar_product(char_2) # should be 1(or maybe 0 if the orde