#9503: FreeModule_submodule_with_basis_pid calls wrong constructor
------------------------+---------------------------------------------------
   Reporter:  novoselt  |       Owner:  AlexGhitza
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.5  
  Component:  algebra   |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 This is a piece of the current code in
 `FreeModule_submodule_with_basis_pid` after #9502 (before it was the same
 without explanations)
 {{{
 # The following is WRONG - we should call __init__ of
 # FreeModule_generic_pid. However, it leads to a bunch of errors.
 FreeModule_generic.__init__(self, R,
                             rank=len(basis), degree=ambient.degree(),
                             sparse=ambient.is_sparse())

 }}}
 The errors seem to be related to number fields and their rings of
 integers.

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