On 10/26/10 6:59 AM, Marshall Hampton wrote: > I think that could be considered a bug in ginac, or in the wrapping of > ginac in sage. Ok, I'll start writing up a description. If anyone else has submitted something on this, let me know. > A workaround that might also speed some things up is to define a > global numerical pi, e.g. "npi = RDF(pi)" and then use npi > everywhere. Yes, that works, as does using any float in place of pi. I can do
from numpy import pi as npi and it works as expected. In this case, npi is a float. -Andrew -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
