#11843: Bug in trivial abelian group
----------------------------+-----------------------------------------------
   Reporter:  wuthrich      |          Owner:  joyner                           
   
       Type:  defect        |         Status:  new                              
   
   Priority:  major         |      Milestone:  sage-4.7.2                       
   
  Component:  group theory  |       Keywords:  S-class group, trivial abelian 
group
Work_issues:                |       Upstream:  N/A                              
   
   Reviewer:                |         Author:                                   
   
     Merged:                |   Dependencies:                                   
   
----------------------------+-----------------------------------------------
 The following code

 {{{
 K.<t> = NumberField(x^2+17)
 I = K.ideal(3,t+1)
 S = K.primes_above(11)
 A = K.S_class_group(S)
 A(I)
 }}}

 produces the error

 {{{
 TypeError: unsupported operand parent(s) for '*': 'Ambient free module
 of rank 1 over the principal ideal domain Integer Ring' and 'Full
 MatrixSpace of 0 by 0 dense matrices over Integer Ring'
 }}}

 The same error can be obtained by

 {{{
 A.identity()
 }}}

 The problem seems to arise only when the abelian group is trivial.

 I imagine this is not a problem of the class group implementation, but one
 of (trivial) abelian group.

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