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

empty partition causes error for up_list #11301

Closed
saliola opened this issue May 5, 2011 · 9 comments
Closed

empty partition causes error for up_list #11301

saliola opened this issue May 5, 2011 · 9 comments

Comments

@saliola
Copy link

saliola commented May 5, 2011

sage: p = Partition([])
sage: p.up_list()
Traceback ...
...
IndexError: list index out of range

Depends on #11300

CC: @sagetrac-sage-combinat

Component: combinatorics

Keywords: combinat, partitions, days30

Author: Jason Bandlow

Reviewer: Franco Saliola

Merged: sage-4.7.1.alpha1

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

@jbandlow
Copy link

jbandlow commented May 6, 2011

@jbandlow
Copy link

jbandlow commented May 6, 2011

Author: Jason Bandlow

@jbandlow

This comment has been minimized.

@jbandlow
Copy link

jbandlow commented May 6, 2011

Dependencies: #11300

@jbandlow
Copy link

jbandlow commented May 6, 2011

comment:2

Notice the dependency on 11300.

@saliola
Copy link
Author

saliola commented May 6, 2011

Reviewer: Franco Saliola

@hivert
Copy link

hivert commented May 8, 2011

comment:4

Replying to @saliola:

Shouldn't we rename up_list to something more meaningful ? What about young_lattice_successors ?

Florent

@nthiery
Copy link
Contributor

nthiery commented May 9, 2011

comment:5

Replying to @hivert:

Replying to @saliola:

Shouldn't we rename up_list to something more meaningful ? What about young_lattice_successors ?

Ah, this is what up_list is about! I had no clue before that
(from the name).

+1 for renaming (with deprecation of up_list), either in this
patch or a followup.

For the name, for consistency with other spots (like
bruhat_upper_covers), we should use a name like
young_upper_covers or young_lattice_upper_covers.

You may want to raise a discussion on sage-combinat-devel to choose
between the two.

Cheers,
Nicolas

@jdemeyer
Copy link

Merged: sage-4.7.1.alpha1

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

5 participants