Hi,

On 10/12/2017 14:47, Michele Pezzutti wrote:
Hi.

This patch intends to fix Bug 83237 - Values returned by std::poisson_distribution are not distributed correctly. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83237for issue description and tests.
In any case, the fix should come with a testcase, which would also validate the analysis. For this discrete distribution should be pretty easy to add one, because all the infrastructure is already in place, essentially three lines added to 26_numerics/random/poisson_distribution/operators/values.cc.

Paolo.

Reply via email to