Ticket #5168 (closed defect: fixed)
[with patch, positive review] matrix0.pyx: fix doctest for commutator
|Reported by:||jhpalmieri||Owned by:||was|
|Component:||linear algebra||Keywords:||matrix0, commutator|
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.
- Summary changed from [with patch, needs review] matrix0.pyx: fix doctest for commutator to [with patch, positive review] matrix0.pyx: fix doctest for commutator