Ticket #3495 (closed defect: fixed)
[with patch, positive review] bug in cyclotomic charpoly for 1x1 matrices
| Reported by: | craigcitro | Owned by: | craigcitro |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.0.4 |
| Component: | linear algebra | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
The following will crash in sage:
sage: Matrix(CyclotomicField(3), 1, [0]).charpoly()
The attached patch fixes it.
Attachments
Change History
comment:1 Changed 5 years ago by was
- Summary changed from [with patch, needs review] bug in cyclotomic charpoly for 1x1 matrices to [with patch, positive review] bug in cyclotomic charpoly for 1x1 matrices
REFEREE REPORT:
- +1; this works as advertised
Reminder -- need to also fix 0x0 as another ticket...
Note: See
TracTickets for help on using
tickets.

