This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Bug 83237 - Values returned by std::poisson_distribution are not distributed correctly


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]