William Stein wrote:

> Regarding your "long" question in the other thread, you might
> try typing
> 
>     SR(s)
> 
> to explicitly coerce s from a long to a "symbolic ring element".
> 


That doesn't work, which might be a bug:

sage: SR(long(2))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/grout/sage/devel/sage-main/sage/plot/<ipython console> in <module>()

/home/grout/downloads/sage-3.1.2/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 
in __call__(self, x)

/home/grout/downloads/sage-3.1.2/local/lib/python2.5/site-packages/sage/calculus/calculus.py
 
in _coerce_impl(self, x)

TypeError: cannot coerce type '<type 'long'>' into a SymbolicExpression.


Thanks,

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to