[sage-support] Re: plot(2*cos) makes graph of 2*sin

2008-11-19 Thread Jason Grout
Jason Grout wrote: > > I think the bug is in fast_float: > > from sage.ext.fast_eval import fast_float > g=fast_float(2*cos) > g(0) > > gives 0.0 (but should give 2.0). We've fixed the bug. See http://trac.sagemath.org/sage_trac/ticket/4557 The fix should be out in the next version of Sage

[sage-support] Re: plot(2*cos) makes graph of 2*sin

2008-11-19 Thread Jason Grout
Jason Grout wrote: > Scott Walck wrote: >> The sage command >> >> plot(2*cos) >> >> produces a plot of 2*sin(x). This seems like a bug. This occurs in >> sage 3.1.4 and on the web version. >> >> Note that >> >> plot(2*cos(x)) >> >> works properly. Also, >> >> plot(2*sin) >> >> appears to give t

[sage-support] Re: plot(2*cos) makes graph of 2*sin

2008-11-19 Thread Jason Grout
Scott Walck wrote: > The sage command > > plot(2*cos) > > produces a plot of 2*sin(x). This seems like a bug. This occurs in > sage 3.1.4 and on the web version. > > Note that > > plot(2*cos(x)) > > works properly. Also, > > plot(2*sin) > > appears to give the correct plot. (Cross-posti