Skip to content

Commit

Permalink
fix for base ring in monomial bases in LLT class
Browse files Browse the repository at this point in the history
  • Loading branch information
anneschilling committed Aug 30, 2016
1 parent 5cd62cb commit 6f8fcaa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/sage/combinat/sf/llt.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ def __init__(self, Sym, k, t='t'):
True
sage: L3p != SymmetricFunctions(QQ).llt(3,t=1)
True
sage: Sym = SymmetricFunctions(QQ['t'])
sage: ks3 = Sym.kschur(3)
sage: llt3 = Sym.llt(3)
sage: f = llt3.cospin([[1],[2,1],[1,1]]).omega()
sage: ks3(f)
ks3[2, 2, 1, 1] + ks3[2, 2, 2] + t*ks3[3, 1, 1, 1] + t^2*ks3[3, 2, 1]
"""
self._k = k
self._sym = Sym
Expand All @@ -126,7 +133,7 @@ def __init__(self, Sym, k, t='t'):
if str(t) !='t':
self._name_suffix += " with t=%s"%self.t
self._name += self._name_suffix+" over %s"%self._sym.base_ring()
self._m = sage.combinat.sf.sf.SymmetricFunctions(QQt).monomial()
self._m = Sym.monomial()

def __repr__(self):
r"""
Expand Down

0 comments on commit 6f8fcaa

Please sign in to comment.