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
bug in Permutations_msetk cardinality #20317
Comments
comment:1
This seems to be a problem of it inheriting the def cardinality(self):
return len(self.list()) Or does anyone know of a easy-ish formula? |
comment:2
Replying to @tscrim:
It is.
I don't understand why there are two classes at all. |
comment:3
Replying to @videlec:
I don't see anything like that in the code. Or do you mean there should be? I think there should be 2 classes, as the general |
comment:4
Replying to @tscrim:
Me neither. Replace shortcut by "the same mathematical set". On the other hand
Adding a third class to "simplify" the inheritance!? The
|
Author: Frédéric Chapoton |
comment:5
Here is a bugfix, plus using libgap instead of gap New commits:
|
Commit: |
Branch: u/chapoton/20317 |
Reviewer: Travis Scrimshaw |
comment:6
I think this will work for now. Thanks. |
comment:7
I shouldn't be doing this... (and I am guessing that the part to obtain the multiplicities, which I stole from
|
Changed branch from u/chapoton/20317 to |
See the original report on this sage-support thread
CC: @tscrim @videlec @vinklein
Component: combinatorics
Keywords: bug
Author: Frédéric Chapoton
Branch/Commit:
bdd22a2
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/20317
The text was updated successfully, but these errors were encountered: