Skip to content

Update scriptInterface.cpp#206

Open
HagenRo wants to merge 2 commits intodaid:masterfrom
HagenRo:patch-1
Open

Update scriptInterface.cpp#206
HagenRo wants to merge 2 commits intodaid:masterfrom
HagenRo:patch-1

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