FreeModule_submodule_with_basis_pid calls wrong constructor
Reported by: 
novoselt 
Owned by: 
AlexGhitza 
Priority:

major

Milestone:


Component:

algebra

Keywords:


Cc:


Merged in:


Authors:


Reviewers:


Report Upstream:

N/A

Work issues:


Branch:


Commit:


Dependencies:


Stopgaps:


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.
Change History (5)
Milestone: 
sage5.11 →
sage5.12

Milestone: 
sage6.1 →
sage6.2

Milestone: 
sage6.2 →
sage6.3

Milestone: 
sage6.3 →
sage6.4
