Hi Christian,

Your patch trac_8327_universal_cyclotomic_field-cs.patch seems to break the 
k-Schur function code.
With your patch, one obtains

sage: ks3 = kSchurFunctions(QQ,3,1)
sage: h = SFAHomogeneous(QQ)
sage: h(ks3([3,3,1]))
0

whereas without

sage: ks3 = kSchurFunctions(QQ,3,1)
sage: h = SFAHomogeneous(QQ)
sage: h(ks3([3,3,1]))
h[3, 3, 1]

Also, with the entire queue applied worse things happen:

sage: h = SFAHomogeneous(ks3.base_ring())
sage: h(ks3([3,3,1]))
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)

/Applications/sage-5.0.beta5/<ipython console> in <module>()

/Applications/sage-5.0.beta5/local/lib/python2.7/site-packages/sage/structure/parent.so
in sage.structure.parent.Parent.__call__
(sage/structure/parent.c:7935)()

/Applications/sage-5.0.beta5/local/lib/python2.7/site-packages/sage/categories/map.so
in sage.categories.map.FormalCompositeMap._call_
(sage/categories/map.c:6086)()

/Applications/sage-5.0.beta5/local/lib/python2.7/site-packages/sage/categories/morphism.so
in sage.categories.morphism.SetMorphism._call_
(sage/categories/morphism.c:4018)()

/Applications/sage-5.0.beta5/local/lib/python2.7/site-packages/sage/combinat/sf/kschur.pyc
in _self_to_s(self, x)
    287             s[2, 1, 1] + t*s[3, 1]
    288         """
--> 289         return self._s._from_cache(x, self._s_cache,
self._self_to_s_cache, t = self.t) # do we want this t = self.t?
    290
    291     def _coerce_start_disabled(self, x):

/Applications/sage-5.0.beta5/local/lib/python2.7/site-packages/sage/combinat/sf/sfa.pyc
in _from_cache(self, element, cache_function, cache_dict, **subs_dict)
    633             if sum(part) not in cache_dict:
    634                 cache_function(sum(part))
--> 635             for part2, c2 in cache_dict[sum(part)][part].iteritems():
    636                 c3 = c*c2
    637                 if hasattr(c3,'subs'): # c3 may be in the base ring

KeyError: [3, 3, 1]

Best,

Anne

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to