#12573: sum of powers of root of unity fails
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-
Component: number theory | duplicate/invalid/wontfix
Keywords: sum, number | Resolution:
field, root of unity | Merged in:
Authors: | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: new => needs_review
* reviewer: => Jeroen Demeyer
* milestone: sage-6.4 => sage-duplicate/invalid/wontfix
Comment:
Not a bug. Conversion of number field elements to `SR` requires an
embedding, like the error message tries to make clear.
{{{
sage: Cyclic3.<z> = QuadraticField(-3)
sage: zi = Cyclic3.primitive_root_of_unity()
sage: var('i')
i
sage: sum(zi^i,i,0,5)
0
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/12573#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.