Skip to content

Commit

Permalink
use string as label
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jan 9, 2025
1 parent 06f6cf3 commit 2f6971c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/operads/prelie_operad.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,16 +452,16 @@ def corolla(self, n, x, y, N=10):
sage: PL = PreLieOperad(ZZ)
sage: PLT = PL.basis().keys()
sage: a = PL(PLT([PLT([],label=None)],label=None))
sage: a = PL(PLT([PLT([],label="@")],label="@"))
sage: PL.corolla(1,a,a)
B[None[None[None[None[]]]]] + B[None[None[], None[None[]]]]
B[@[@[@[@[]]]]] + B[@[@[], @[@[]]]]
sage: b = PL.one()
sage: PL.corolla(3,b,b,4)
B[@[@[], @[], @[]]]
sage: PL.corolla(2,a,b,4)
B[None[None[@[], @[]]]] + 2*B[None[@[], None[@[]]]] + B[None[None[], @[], @[]]]
B[@[@[@[], @[]]]] + 2*B[@[@[], @[@[]]]] + B[@[@[], @[], @[]]]
"""
PL = x.parent()
if n + 1 > N:
Expand Down

0 comments on commit 2f6971c

Please sign in to comment.