Hi all:

Am i doing something wrong, or does the example below demonstrate a
bug in Sage's n() function?

Alex

----------------------------------------------------------------------
| Sage Version 4.3, Release Date: 2009-12-24                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
WARNING: There is one major unsolved bug in some versions of
Sage on OS X 10.6 that causes an 'Abort trap' crash when
doing certain symbolic computations.
See http://trac.sagemath.org/sage_trac/ticket/7095/.
sage: a= gamma(1/3)
sage: a.n()
2.67893853470775
sage: f= a*x
sage: c=f.coefficients(); c
[[gamma(1/3), 1]]
sage: c[0][0].n()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)

/Users/raichev/<ipython console> in <module>()

/Applications/sage/local/lib/python2.6/site-packages/sage/symbolic/
expression.so in sage.symbolic.expression.Expression.n (sage/symbolic/
expression.cpp:15928)()

TypeError: cannot evaluate symbolic expresssion numerically
sage:

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to