#10217: bug in rings/fast_arith.pyx
---------------------------------------+------------------------------------
   Reporter:  was                      |       Owner:  AlexGhitza
       Type:  defect                   |      Status:  needs_work
   Priority:  minor                    |   Milestone:  sage-4.6.2
  Component:  basic arithmetic         |    Keywords:            
     Author:                           |    Upstream:  N/A       
   Reviewer:                           |      Merged:            
Work_issues:  deal with new exception  |  
---------------------------------------+------------------------------------
Changes (by zimmerma):

  * status:  needs_review => needs_work
  * work_issues:  => deal with new exception


Comment:

 I started to look at this.
 I had difficulties trying to find a test that could hit the case {{{g !=
 1}}}.
 I found the following:
 {{{
 from sage.ext.multi_modular import MultiModularBasis_base
 mm = MultiModularBasis_base([6, 10])
 }}}
 which raises another problem, since the new exception is not trapped:
 {{{
 sage: mm.crt([1,2])
 13
 }}}
 This is wrong since 13 is not equal to 2 mod 10...

 Paul

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10217#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.

Reply via email to