-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Methods concerning cores in Partitions #11700
Comments
Author: Anne Schilling |
comment:2
I ran all tests and they passed. I give it a positive review except for a suggested change to is_core that I believe is shorter and faster:
This changes the behavior for k=0 since the original version raises a "ZeroDivisionError: Integer modulo by zero" while this new version simply returns False. |
Reviewer: Mike Zabrocki |
comment:3
Hi Mike, Thanks for your very first patch review! The suggested change is made (though for k=0 the output is True and not False). Anne |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Attachment: trac_11700-partitions-as.patch.gz |
This comment has been minimized.
This comment has been minimized.
comment:7
Replying to @nthiery: I changed the header of the patch. |
comment:8
Replying to @anneschilling:
I.e., just the commit message? (It's not clear to what you replied, Nicolas just removed the hint on the repo I previously added, for whatever reason.) (I actually already merged the patch into a preliminary alpha3 a few hours ago, before you updated it. But shouldn't be a problem, at least if there are no "real" changes. I'll grab the latest version for an official release anyway.) |
comment:9
Replying to @nexttime:
Yup.
The testbot error log was not clear, but hinted that it had not found Cheers, |
comment:10
Replying to @nthiery:
That was my guess... So the buildbot deletes some previous logs? The last "apply failed" is from August. The last statement I recall regarding what the patch-/buildbot inspects was that it doesn't look at the ticket's description at all (but in contrast Jeroen's tools do; just as mine). Haven't kept track on that though.
The doctest errors are quite funny; at least one caused by the buildbot itself, most (or all?) of the others caused by "no space left on device". :D But it IMHO doesn't make much sense to test patches still against 4.7.1 anyway. |
Merged: sage-4.7.2.alpha3 |
The patch implements some new methods regarding cores in Partitions.
Apply attachment: trac_11700-partitions-as.patch
CC: @zabrocki
Component: combinatorics
Keywords: partitions, cores
Author: Anne Schilling
Reviewer: Mike Zabrocki
Merged: sage-4.7.2.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/11700
The text was updated successfully, but these errors were encountered: