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 the correct plot. >
Line 6860 of calculus.py defines the fast_float function for cos(x) to be math.sin. That's the problem. I'm posting a patch right now. Jason --~--~---------~--~----~------------~-------~--~----~ 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---