-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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>: Fix discrete_distribution result out of range #1025
Merged
CaseyCarter
merged 10 commits into
microsoft:master
from
statementreply:fix_discrete_distribution_out_of_range
Jul 27, 2020
Merged
<random>: Fix discrete_distribution result out of range #1025
CaseyCarter
merged 10 commits into
microsoft:master
from
statementreply:fix_discrete_distribution_out_of_range
Jul 27, 2020
Commits on Jul 9, 2020
-
Fix discrete_distribution result out of range
Mathematically, _Par0._Pcdf.back() should be one. However, when it is actually slightly smaller than one due to rounding error, there is a small probability that _Px > _Par0._Pcdf.back() and the original code returns the invalid value of _Par0._Pcdf.size().
Configuration menu - View commit details
-
Copy full SHA for 1bd796a - Browse repository at this point
Copy the full SHA 1bd796aView commit details
Commits on Jul 10, 2020
-
Use _Prev_iter Co-authored-by: Casey Carter <cartec69@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 786e7aa - Browse repository at this point
Copy the full SHA 786e7aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b71dc47 - Browse repository at this point
Copy the full SHA b71dc47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9716e01 - Browse repository at this point
Copy the full SHA 9716e01View commit details
Commits on Jul 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 009dbf1 - Browse repository at this point
Copy the full SHA 009dbf1View commit details
Commits on Jul 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e009f03 - Browse repository at this point
Copy the full SHA e009f03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ad4ee9 - Browse repository at this point
Copy the full SHA 7ad4ee9View commit details
Commits on Jul 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7873c70 - Browse repository at this point
Copy the full SHA 7873c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7036941 - Browse repository at this point
Copy the full SHA 7036941View commit details
Commits on Jul 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 22bf422 - Browse repository at this point
Copy the full SHA 22bf422View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.