Skip to content
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

random module differences between Pyhton 2.x and Python 3.x #12

Open
baugetfa opened this issue May 31, 2022 · 0 comments
Open

random module differences between Pyhton 2.x and Python 3.x #12

baugetfa opened this issue May 31, 2022 · 0 comments
Assignees

Comments

@baugetfa
Copy link
Collaborator

All simulations with existing roots give same results in Py2 and Py3.
This is not the case with root generation with a given seed. It seems that it comes from the module "random". For instance, with the same seed, random.expovariate() or random.randint() do not give the same result. I tried to add the argument "version" in random.seed() without any change.
WIP

@baugetfa baugetfa self-assigned this May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant