On Wed, Feb 25, 2009 at 1:52 AM, Harald Schilly <harald.schi...@gmail.com>wrote:
> > Hello, I got this one on the "report a problem" bugtracker in the > notebook: > > In version 3.2.3: > """ > I typed the following commands into sage notebook: > > R.<z> = QQ[] > p = 1 + O(z) > q = 1 + z > p(q) > > After pressing shift + enter, the output is 1. However, in this case > we should not be able to determine even the constant term of the > resulting series. I think it is more appropriate if sage returns a > warning or error message. > """ > > I think it's probably okay, but I'm not sure. Open for discussion! > Yes, this is a bug. The result should be O(z^0), just as in the following example: sage: S.<z> = QQ[[]] sage: p = 1 + z + O(z^2) sage: q = 1 + z sage: p(q) O(z^0) This is now trac #5367. Best, Alex -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/<http://www.ms.unimelb.edu.au/%7Eaghitza/> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---