Hi, First of all, I don't know whether to post about this here, or file a bug report, or something else. I'm new to community developed software. Let me know if this isn't the right place to report the following.
I'm using sage 2.9.2 and 2.9.3 on different (both PPC) machines, both running OS X 10.4. Consider the following commands which should expand an elementary symmetric function as a polynomial in 3 variables: ######## # Code ######## sage: k=SFAElementary(QQ) sage: f=k([2]) sage: f.expand(3) --------------------------------------------------------------------------- <type 'exceptions.TypeError'> Traceback (most recent call last) /Users/bjones/<ipython console> in <module>() /Applications/sage/local/lib/python2.5/site-packages/sage/combinat/ sfa.py in expand(self, n, alphabet) 1041 #if len(part) > n: 1042 # continue -> 1043 res += self_mc[part] * resPR(e(part, n, alphabet)) 1044 return res 1045 /Users/bjones/multi_polynomial_libsingular.pyx in sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular.__call__() /Users/bjones/multi_polynomial.pyx in sage.rings.polynomial.multi_polynomial.MPolynomial._polynomial_() /Users/bjones/multi_polynomial_libsingular.pyx in sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular.__call__() /Applications/sage/local/lib/python2.5/site-packages/sage/rings/ rational_field.py in __call__(self, x, base) 180 if isinstance(x, sage.rings.rational.Rational): 181 return x --> 182 return sage.rings.rational.Rational(x, base) 183 184 def construction(self): /Users/bjones/rational.pyx in sage.rings.rational.Rational.__init__() /Users/bjones/rational.pyx in sage.rings.rational.Rational.__set_value() /Users/bjones/polynomial_element.pyx in sage.rings.polynomial.polynomial_element.Polynomial._rational_() <type 'exceptions.TypeError'>: cannot coerce nonconstant polynomial ######## # End ######## Similar commands, but on objects from SFASchur, SFAPower, SFAMonomial, etc.., work perfectly. It seems to be only SFAElementary that has a problem. Thanks, BFJ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---