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
Partitions(-1).list() goes into infinte recursion #12663
Comments
This comment has been minimized.
This comment has been minimized.
mantepse
changed the title
Partitions(-1).list() goes intto infinte recursion
Partitions(-1).list() goes into infinte recursion
Mar 13, 2012
This comment has been minimized.
This comment has been minimized.
Changed author from Martin Rubey to Travis Scrimshaw |
Reviewer: Tom Denton |
comment:6
The commit message of this patch should be changed (using
|
comment:7
Attachment: trac_12663-partitions_iter_fix-ts.patch.gz Fixed. |
Changed keywords from Partitions, corner case to Partitions, corner case, days38 |
Merged: sage-5.1.beta1 |
Attachment: 12663-partitions_iter_fix-ts-rebased.patch.gz |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently Partitions only checks whether its argument is an integer, but iterating through Partitions(-1) fails. It now creates an empty list.
Apply attachment: 12663-partitions_iter_fix-ts-rebased.patch
CC: @sdenton4
Component: combinatorics
Keywords: Partitions, corner case, days38
Author: Travis Scrimshaw
Reviewer: Tom Denton
Merged: sage-5.1.beta1
Issue created by migration from https://trac.sagemath.org/ticket/12663
The text was updated successfully, but these errors were encountered: