PR libstdc++/83833 fix chi_squared_distribution::param(const param&)
authorJonathan Wakely <jwakely@redhat.com>
Mon, 15 Jan 2018 19:58:22 +0000 (19:58 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 15 Jan 2018 19:58:22 +0000 (19:58 +0000)
commit8b3085e7e87f2acb7c0e3689e357ffd368c20cde
tree16990dfafd49aa55de94ff0b026c10e2de389f07
parent97a78e3396d4b901800f43f1075058f876a86058
PR libstdc++/83833 fix chi_squared_distribution::param(const param&)

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.

From-SVN: r256708
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc [new file with mode: 0644]