Hi!

I found the following issue:

sage: R.<u,v,t,T>=PowerSeriesRing(QQ)
sage: f=u+O(u,v,t,T)^200
sage: g=f-u
sage: g(u^4,v^4,t^4,T^4)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/home/tincho/<ipython console> in <module>()

/home/tincho/sage-5.3/local/lib/python2.7/site-packages/sage/rings/multi_power_series_ring_element.py
in __call__(self, *x, **kwds)
    470         else:
    471             newprec = self.prec()*min(valn_list)
--> 472         return self._value().subs(sub_dict).add_bigoh(newprec)
    473
    474     def _subs_formal(self,*x,**kwds):

/home/tincho/sage-5.3/local/lib/python2.7/site-packages/sage/structure/element.so
in sage.structure.element.Element.__getattr__
(sage/structure/element.c:3475)()

/home/tincho/sage-5.3/local/lib/python2.7/site-packages/sage/structure/misc.so
in sage.structure.misc.getattr_from_other_class
(sage/structure/misc.c:1509)()

AttributeError: 'sage.rings.rational.Rational' object has no attribute
'add_bigoh'
sage:

it seems that g = 0 + O(u, v, t, T)^200 cannot be composed with the
4th powers because of the constant remainder

it popped out in a big loop involving sums of power series and some of
those terms were of the shape g = 0 + O(u, v, t, T)^200

I think it'll be nice that sage treat g = 0 + O(u, v, t, T)^200 any
other power series in R

kind regards




tincho

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


Reply via email to