Ticket #8743 (closed defect: fixed)
change_ring on a rational matrix may return self
| Reported by: | jason | Owned by: | jason, was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.4.4 |
| Component: | linear algebra | Keywords: | |
| Cc: | was, rbeezer | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Joni Syri |
| Authors: | Jason Grout | Merged in: | sage-4.4.4.alpha0 |
| Dependencies: | Stopgaps: |
Description
change_ring on a rational matrix goes against the documentation for the generic change_ring function, which states that a copy is always returned. This patch fixes this and adds a TestSuite? test for it (the advantage of a testsuite test is that this will be run for *every* matrix class, not just the rational matrix class).
Attachments
Change History
comment:2 Changed 3 years ago by jsyri
- Status changed from needs_review to positive_review
Fixes bug, code seems to be OK, test is included, all tests pass. Positive review.
comment:3 Changed 3 years ago by mhansen
- Status changed from positive_review to closed
- Reviewers set to Joni Syri
- Resolution set to fixed
- Merged in set to sage-4.4.4.alpha0
Note: See
TracTickets for help on using
tickets.

