-
-
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
Make combinat doctests ready for random seeds #29974
Comments
Branch: public/29974 |
Commit: |
comment:2
Merge conflict. I also need to go through it again and check I respected the design decision in #29935. |
comment:3
Note that elements of |
This comment has been minimized.
This comment has been minimized.
Changed commit from |
Changed branch from public/29974 to public/29974-reb |
Commit: |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
comment:8
I get one failure in combinat:
Can you reproduce it?
|
comment:9
Yes, I can confirm the problem. |
Reviewer: Sébastien Labbé |
comment:10
But it works for |
Changed branch from public/29974-reb to public/29974-reb2 |
This comment has been minimized.
This comment has been minimized.
comment:12
There is
for that. Do you mind to change to the lesser known |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
I like |
comment:15
In fact, I think we want to import it from prandom
in order for it to depend on the |
comment:16
I was wondering about what the point was of duplicating that thing. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Thank you. |
Changed branch from public/29974-reb2 to |
This comment has been minimized.
This comment has been minimized.
Changed commit from |
Part of #29935.
This ticket makes
pass for
n
more general than just0
.See also:
Along the way we fix a tiny but annoying bug, where random derangements could fail.
That was because
randint(0, n)
has rangerange(0, n + 1)
,which had caused confusion.
Depends on #29962
Component: doctest framework
Author: Jonathan Kliem
Branch:
928863f
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/29974
The text was updated successfully, but these errors were encountered: