#8344: Factor constant polynomials over QQbar
--------------------------------+-------------------------------------------
Reporter: boothby | Owner: AlexGhitza
Type: defect | Status: new
Priority: critical | Milestone: sage-4.3.4
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
{{{
boot...@sage:~$ sage
----------------------------------------------------------------------
| Sage Version 4.3.2, Release Date: 2010-02-06 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: f = QQbar['x'](1)
sage: f.roots()
---------------------------------------------------------------------------
IndexError Traceback (most recent call
last)
/home/boothby/<ipython console> in <module>()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/rings/polynomial/polynomial_element.so in
sage.rings.polynomial.polynomial_element.Polynomial.roots
(sage/rings/polynomial/polynomial_element.c:29646)()
/usr/local/sage/local/lib/python2.6/site-
packages/sage/rings/polynomial/complex_roots.pyc in complex_roots(p,
skip_squarefree, retval, min_prec)
339 factors = [(p, 1)]
340 else:
--> 341 factors = p.squarefree_decomposition()
342
343 prec = 53
/usr/local/sage/local/lib/python2.6/site-
packages/sage/rings/polynomial/polynomial_element.so in
sage.rings.polynomial.polynomial_element.Polynomial.squarefree_decomposition
(sage/rings/polynomial/polynomial_element.c:10808)()
IndexError: list index out of range
sage:
}}}
This one should be pretty easy.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8344>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.