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

Improve seed random generator and use std random generator #5822

Conversation

javierBarandiaran
Copy link
Contributor

Use std::random_device instead of std::time as seed to initialize the random number generator. Use std random generator instead of Boost.
std::time as seed produces the same random numbers if the initialization is done in the same second.

@javierBarandiaran
Copy link
Contributor Author

I see that there is a similar request. Closing this one and will open a new one with seed initialization

@javierBarandiaran javierBarandiaran deleted the random_generator branch October 4, 2023 09:17
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

Successfully merging this pull request may close these issues.

1 participant