Issue 1182: global variable 'cubic' undefined in sympy/polys/rootfinding.py http://code.google.com/p/sympy/issues/detail?id=1182
Comment #6 by nicolas.pourcelot: For example: >>> import sympy >>> sympy.var("x") >>> p=(30.0 + 25.0*x**2 + 11.0*x**4 + 5.0*x**6 + x**8).as_poly() >>> sympy.rootfinding.roots(p,cubic=True,quartics=True) Traceback (most recent call last): File "<input>", line 1, in <module> File ".../sympy/polys/rootfinding.py", line 258, in roots for zero in roots_trivial(h): File ".../sympy/polys/rootfinding.py", line 228, in roots_trivial zeros += roots_quartic(g) File ".../sympy/polys/rootfinding.py", line 73, in roots_quartic r = cubic(1, p, q, r) NameError: global name 'cubic' is not defined -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---