On Feb 26, 2009, at 12:22 PM, YannLC wrote: > Hi, > am I doing something wrong here? > If not, this is a bug... > > sage: f=function('f',x) > sage: f > f(x) > sage: g(f,x)=f(x+1) > sage: g > (f, x) |--> x + 1
When one writes g(f, x) it creates two variables f and x, and your original f is gone. I'm not sure what the best fix is here... There is also the counter-intuitive sage: f = var('f') sage: f(3) 3 - Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---