#11750: CRT_list not working for non comprime moduli
--------------------------------+-------------------------------------------
   Reporter:  mderickx          |          Owner:  tbd            
       Type:  defect            |         Status:  needs_work     
   Priority:  major             |      Milestone:  sage-4.7.2     
  Component:  basic arithmetic  |       Keywords:                 
Work_issues:                    |       Upstream:  N/A            
   Reviewer:  Luis Tabera       |         Author:  Maarten Derickx
     Merged:                    |   Dependencies:                 
--------------------------------+-------------------------------------------

Comment(by pong):

 The problem

 sage: CRT([32r,2r,2r],[60r,90r,150r]) ... AttributeError?: 'int' object
 has no attribute 'lcm'

 can easily be fixed by changing

 m = m.lcm(moduli[i]) to

 m = lcm(m,moduli[i])

 in Maarten's patch. Perhaps, Maarten can issue an update on his patch.

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