From 6f8fcaa92d8018525b3e62d2f91690028e82b232 Mon Sep 17 00:00:00 2001 From: Anne Schilling Date: Mon, 29 Aug 2016 22:29:36 -0700 Subject: [PATCH] fix for base ring in monomial bases in LLT class --- src/sage/combinat/sf/llt.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/sage/combinat/sf/llt.py b/src/sage/combinat/sf/llt.py index e4919395340..e3c52459519 100644 --- a/src/sage/combinat/sf/llt.py +++ b/src/sage/combinat/sf/llt.py @@ -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 @@ -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"""