-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
minor code details in combinat #34019
Comments
New commits:
|
Branch: u/chapoton/34019 |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
I didn't know that we could check '3 in range(5)`. Good to know. In - for r in [1] + list(xrange(k+1, n-2)): # as r*1+1+1 <= n and because we need
+ for r in [1] + list(range(k+1, n-2)): # as r*1+1+1 <= n and because we need In - if not all(i in list(range(len(Q))) for i in F):
+ r = range(len(Q))
+ if not all(i in r for i in F): |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
voila,j'ai rajouté un ou deux espaces, malgré ma barre d'espacedéfaillante pour le secondpoint, j'ai laissé tel quel.Jesais pas si ca serait mieux avec set ou carrement avec |
Reviewer: David Coudert |
comment:6
LGTM. |
comment:7
merci. Pour info:
|
comment:8
It's surprising that set is the fastest here. Interesting. |
Changed branch from u/chapoton/34019 to |
Component: combinatorics
Author: Frédéric Chapoton
Branch/Commit:
facaba4
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/34019
The text was updated successfully, but these errors were encountered: