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

Update scriptInterface.cpp #206

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update scriptInterface.cpp #206

wants to merge 2 commits into from

Conversation

HagenRo
Copy link

@HagenRo HagenRo commented Feb 26, 2022

tried to make the documentation mathematically correct

tried to make it mathematically correct
@daid
Copy link
Owner

daid commented Feb 27, 2022

Due to a bug in the standard c++ library, excusion of max_value is not guaranteed for random()
See notes at https://en.cppreference.com/w/cpp/numeric/random/uniform_real_distribution

changed it to closed intervall and added the reference link for further information
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.

2 participants