Opened 11 years ago

Last modified 9 years ago

#11034 closed defect

bug in the way vectors are created for submodules of free modules — at Version 5

Reported by: was Owned by: jason, was
Priority: critical Milestone: sage-duplicate/invalid/wontfix
Component: linear algebra Keywords:
Cc: minz Merged in:
Authors: William Stein, Moritz Minzlaff Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by minz)

Let R be a ring with fraction field K.

When you create a R-submodule of K^n (with K!=QQ) the vectors 
are created in the ring R not the fraction field.  This breaks things 
when the submodule is not in R^n.

Apply trac_11034.v2.patch

Change History (5)

comment:1 Changed 11 years ago by was

  • Description modified (diff)

comment:2 Changed 11 years ago by was

  • Description modified (diff)

comment:3 Changed 11 years ago by minz

  • Status changed from new to needs_review
  • Type changed from PLEASE CHANGE to defect

The new version adds a doctest (and is slightly modified to make the doctest work).

The only doctest failure I received was related to the startup time as checked by Curiously enough, replicating the same test on my local machine returned True. (Replicating as in: not running the doctest itself as it always returns True when not on sage.math.)

comment:4 Changed 11 years ago by minz

Apply trac_11034.v2.patch

comment:5 Changed 11 years ago by minz

  • Authors set to William Stein, Moritz Minzlaff
  • Description modified (diff)
Note: See TracTickets for help on using tickets.