Opened 10 years ago
Closed 10 years ago
#9765 closed defect (fixed)
matrix2.pyx: replace "x < 1e-15" by "abs(x) < 1e-15"
Reported by: | jhpalmieri | Owned by: | AlexGhitza |
---|---|---|---|
Priority: | blocker | Milestone: | sage-4.5.3 |
Component: | algebra | Keywords: | |
Cc: | Merged in: | sage-4.5.3.alpha2 | |
Authors: | John Palmieri | Reviewers: | Mitesh Patel |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
In matrix2.pyx, there is a doctest (line 6406):
sage: all(imag(e) < 1.1e-15 for e in eigs)
We should replace "imag(e)" by "abs(imag(e))".
The attached patch depends on #9760.
Attachments (1)
Change History (5)
Changed 10 years ago by
comment:1 Changed 10 years ago by
- Status changed from new to needs_review
comment:2 Changed 10 years ago by
- Reviewers set to Mitesh Patel
- Status changed from needs_review to positive_review
comment:3 Changed 10 years ago by
- Milestone changed from sage-4.6 to sage-4.5.3
- Priority changed from major to blocker
comment:4 Changed 10 years ago by
- Merged in set to sage-4.5.3.alpha2
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
The test still passes on bsd, redhawk, sage, and t2.math.