We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For n>2 the answer is correct:
sage: Posets.ChainPoset(3).size() 3 sage: Posets.ChainPoset(4).size() 4 sage: Posets.ChainPoset(5).size() 5
However:
sage: Posets.ChainPoset(2).size() 1 sage: Posets.ChainPoset(1).size() ... ValueError: not valid poset data.
AntichainPosets show the same wrong behavior.
AntichainPosets
Component: combinatorics
Keywords: ChainPoset
Author: Florent Hivert
Reviewer: Nicolas Borie
Merged: sage-4.3.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8422
The text was updated successfully, but these errors were encountered:
Attachment: trac_8422-chain_poset_fix-fh.patch.gz
Sorry, something went wrong.
patch apply, doctests passed, documentation ok.
Positive review from me.
hivert
No branches or pull requests
For n>2 the answer is correct:
However:
AntichainPosets
show the same wrong behavior.Component: combinatorics
Keywords: ChainPoset
Author: Florent Hivert
Reviewer: Nicolas Borie
Merged: sage-4.3.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8422
The text was updated successfully, but these errors were encountered: