Ticket #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 | Author(s): | |
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
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
Change History
Note: See
TracTickets for help on using
tickets.

