Opened 14 years ago
Closed 14 years ago
#5168 closed defect (fixed)
[with patch, positive review] matrix0.pyx: fix doctest for commutator
Reported by: | jhpalmieri | Owned by: | was |
---|---|---|---|
Priority: | trivial | Milestone: | sage-3.3 |
Component: | linear algebra | Keywords: | matrix0, commutator |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Here is the extent of the docstring for the commutator method in matrix0.pyx:
Return the commutator self*other - other*self. EXAMPLES: sage: A = Matrix(QQ[['t']], 2, 2, range(4))
Fix the doctest so that it actually computes a commutator.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | 5168.patch added |
---|
comment:1 Changed 14 years ago by
Summary: | [with patch, needs review] matrix0.pyx: fix doctest for commutator → [with patch, positive review] matrix0.pyx: fix doctest for commutator |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Merged in Sage 3.3.alpha6.
Cheers,
Michael
Note: See
TracTickets for help on using
tickets.
New doctests look good, and they pass.
(Good catch on noticing the original bug, too.)
Positive review.