#19567: Using elements of universal cyclotomic field and symbolic ring silently
produces garbage
-------------------------------------+-------------------------------------
       Reporter:  switzel            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-
      Component:  number fields      |  duplicate/invalid/wontfix
       Keywords:  cyclotomic field,  |   Resolution:
  symbolic ring                      |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by slelievre):

 * status:  new => needs_review
 * cc: chapoton, slelievre, stumpc5, vdelecroix (added)
 * milestone:  sage-6.10 => sage-duplicate/invalid/wontfix


Old description:

> {{{
> sage: UCF = UniversalCyclotomicField()
> sage: UCF(1)*SR(1)
> 0
> sage: UCF(1)+SR(1)
> 1
> }}}
> Clearly the first one should be 1 in some ring or raise an exception.
> Similarly the second should be 2 in some ring or raise an exception.

New description:

 {{{
 sage: UCF = UniversalCyclotomicField()
 sage: UCF(1)*SR(1)
 0
 sage: UCF(1)+SR(1)
 1
 }}}
 Clearly the first one should be 1 in some ring or raise an exception.
 Similarly the second should be 2 in some ring or raise an exception.

 This seems to have been fixed by #19912.

--

Comment:

 Apparently fixed at #19912 by exactly the fix suggested in
 [[http://trac.sagemath.org/ticket/19567#comment:1|comment 1]] above.

--
Ticket URL: <http://trac.sagemath.org/ticket/19567#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 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to