File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4729,7 +4729,6 @@ def functorial_composition(self, *args):
4729
4729
4730
4730
labellings of their vertices with two 1's and two 2's.
4731
4731
4732
-
4733
4732
The derivative of the symmetric function `\sum_n h_n`, times
4734
4733
`p_1` is the neutral element with respect to functorial
4735
4734
composition::
@@ -4787,16 +4786,16 @@ def g_cycle_type(s):
4787
4786
m = moebius (d )
4788
4787
if not m :
4789
4788
continue
4790
- u = s .power (k / d )
4791
- g_u = g [u . size ( )]
4789
+ u = s .power (k // d )
4790
+ g_u = g [sum ( u )]
4792
4791
if g_u :
4793
4792
e += m * u .aut () * g_u .coefficient (u )
4794
- res .extend ([k ] * ZZ ( e / k ))
4793
+ res .extend ([k ] * int ( e // k ))
4795
4794
res .reverse ()
4796
4795
return Partition (res )
4797
4796
4798
4797
def coefficient (n ):
4799
- res = p ( 0 )
4798
+ res = p . zero ( )
4800
4799
for s in Partitions (n ):
4801
4800
t = g_cycle_type (s )
4802
4801
f_t = f [t .size ()]
You can’t perform that action at this time.
0 commit comments