Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@cgranade
Copy link
Contributor

This PR fixes #256 by simplifying random sampling logic and by fixing the case in which the sampled element should have been the last one in the categorical distribution.

@cgranade cgranade requested a review from bettinaheim June 16, 2020 21:48
@cgranade cgranade merged commit d7e1d9d into master Jun 25, 2020
@cgranade cgranade deleted the cgranade/fix-256 branch June 25, 2020 21:34
yusudz added a commit that referenced this pull request Jul 9, 2020
* Extends #257 (fixing #256) to QuantumProcessorDispatcher sim as well

* Pulled SampleDistribution method out to shared utils

Co-authored-by: Yury Sudzilouski <v-yusudz@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Random - Should this be zero-indexed?

4 participants