#12632: bug comparing trivial Dirichlet characters
-----------------------------+----------------------------------------------
Reporter: bober | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: number fields | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: David Loeffler
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* component: number theory => number fields
* author: => David Loeffler
Comment:
This was indeed a coercion issue -- the basic error is this:
{{{
sage: K1 = CyclotomicField(1)
sage: K2 = CyclotomicField(2)
sage: K1.has_coerce_map_from(K2) # boom!
}}}
I've uploaded a patch which deals summarily with this special case by
adding a couple of lines to the cyclotomic field coercion code, and adds a
doctest to prove it.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12632#comment:2>
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.