I see the same issue on 9.4.beta1. It looks like maybe there is a unique
representation issue happening? That is, on your second call if irreducible
characters, it creates a new instance of the irreducible and so it doesn't
recognize them as the same. If you only compute the
G.irreducible_characters() once, it seems to work:
sage: G = SymmetricGroup(*3*)
sage: irr =
G.irreducible_characters()
sage: char_1 = irr[*0*]
sage: char_2 = irr[*0*]
sage:
char_1.scalar_product(char_2)
1
Does this approach work for your use-case?
On Wednesday, June 23, 2021 at 9:30:20 AM UTC-5 [email protected] wrote:
> 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 order is
> not consistent)
>
> The same issue appears if G is a PermutationGroup. I'm running sage 9.3,
> compiled from source.
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/346c8524-91a3-41a5-82a1-704ae2cc892fn%40googlegroups.com.