Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The empty standard tableau exists ! :-) #5781

Closed
hivert opened this issue Apr 13, 2009 · 2 comments
Closed

The empty standard tableau exists ! :-) #5781

hivert opened this issue Apr 13, 2009 · 2 comments

Comments

@hivert
Copy link

hivert commented Apr 13, 2009

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 !!!

CC: @sagetrac-sage-combinat

Component: combinatorics

Keywords: tableau

Issue created by migration from https://trac.sagemath.org/ticket/5781

@hivert hivert added this to the sage-3.4.1 milestone Apr 13, 2009
@hivert hivert self-assigned this Apr 13, 2009
@hivert
Copy link
Author

hivert commented Apr 13, 2009

Attachment: empty_standard_tableau-fh-final.patch.gz

@nthiery nthiery changed the title [need review] The empty standard tableau exists ! :-) The empty standard tableau exists ! :-) Apr 13, 2009
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 13, 2009

comment:3

Merged in Sage 3.4.1.rc3.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 13, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants