Changes between Version 13 and Version 14 of Ticket #24378


Ignore:
Timestamp:
12/15/17 11:16:33 (4 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24378 – Description

    v13 v14  
    44---------------------------------------------------------------------------
    55IndexError                                Traceback (most recent call last)
    6 <ipython-input-4-4eba84b7c14c> in <module>()
     6<ipython-input-1-4eba84b7c14c> in <module>()
    77----> 1 complex_root_of(x**Integer(8)-Integer(1), Integer(7)).n(Integer(2))
    88
     
    2929
    3030/home/patchbot/sage-patchbot/local/lib/python2.7/site-packages/sage/functions/other.pyc in _evalf_(self, poly, index, parent, algorithm)
    31    2920         print("index: {}".format(index))
    32    2921         print("type(index): {}".format(type(index)))
    33 -> 2922         sobj = CRootOf(Poly(poly._sympy_()), int(index))
    34    2923         return sobj.n(ceil(prec*3/10))._sage_()
    35    2924
     31   2918         except AttributeError:
     32   2919             prec = 53
     33-> 2920         sobj = CRootOf(Poly(poly._sympy_()), int(index))
     34   2921         return sobj.n(ceil(prec*3/10))._sage_()
     35   2922
    3636
    3737/home/patchbot/sage-patchbot/local/lib/python2.7/site-packages/sympy/polys/rootoftools.pyc in __new__(cls, f, x, index, radicals, expand)