Opened 13 years ago
Closed 13 years ago
#5781 closed defect (fixed)
[with patch, positive review] The empty standard tableau exists ! :-)
Reported by: | hivert | Owned by: | hivert |
---|---|---|---|
Priority: | major | Milestone: | sage-3.4.1 |
Component: | combinatorics | Keywords: | tableau |
Cc: | sage-combinat | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Before my patch:
sage: [] in StandardTableaux() --------------------------------------------------------------------------- ValueError Traceback (most recent call last) /home/averell/.sage/temp/tomahawk/19026/_home_averell__sage_init_sage_0.py in <module>() /usr/local/sage/sage/local/lib/python2.5/site-packages/sage/combinat/tableau.pyc in __contains__(self, x) 1740 fillings += row 1741 fillings.sort() -> 1742 if fillings != range(1, max(fillings)+1): 1743 return False 1744 ValueError: max() arg is an empty sequence
Now:
sage: [] in StandardTableaux() True
Florent, the specialist of the empty objects !!!
Attachments (1)
Change History (4)
Changed 13 years ago by
comment:1 Changed 13 years ago by
- Status changed from new to assigned
comment:2 Changed 13 years ago by
- Summary changed from [with patch, need review] The empty standard tableau exists ! :-) to [with patch, positive review] The empty standard tableau exists ! :-)
comment:3 Changed 13 years ago by
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
Merged in Sage 3.4.1.rc3.
Cheers,
Michael