https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83833
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Jan 29 13:58:49 2018 New Revision: 257144 URL: https://gcc.gnu.org/viewcvs?rev=257144&root=gcc&view=rev Log: PR libstdc++/83833 fix chi_squared_distribution::param(const param&) Backport from mainline 2018-01-15 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/83833 * include/bits/random.h (chi_squared_distribution::param): Update gamma distribution parameter. * testsuite/26_numerics/random/chi_squared_distribution/83833.cc: New test. Added: branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/bits/random.h