diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-22 10:08:39 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-22 10:08:39 +0000 |
| commit | e16d3a3b4edb567c19cd686a68421414827414e7 (patch) | |
| tree | c1175fa490b2ba54bda7d9c85ef5acb7a71887cf | |
| parent | d3055c35c8e5095d902a43e3395e82ee3d96557e (diff) | |
| download | ppe42-gcc-e16d3a3b4edb567c19cd686a68421414827414e7.tar.gz ppe42-gcc-e16d3a3b4edb567c19cd686a68421414827414e7.zip | |
2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/ext/random/hypergeometric_distribution/operators/
values.cc: Fix thinkos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205248 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d3d6405320f..572dc8d07a8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2013-11-22 Paolo Carlini <paolo.carlini@oracle.com> + + * testsuite/ext/random/hypergeometric_distribution/operators/ + values.cc: Fix thinkos. + 2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net> * include/experimental/string_view: Rep empty string with unit-length diff --git a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc index 78c0475c935..8923ef6447b 100644 --- a/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc +++ b/libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc @@ -33,17 +33,17 @@ test01() std::mt19937 eng; - __gnu_cxx::hypergeometric_distribution hd1{15, 3, 2}; + __gnu_cxx::hypergeometric_distribution<> hd1{15, 3, 2}; auto bhd1 = std::bind(hd1, eng); testDiscreteDist(bhd1, [](int k) { return hypergeometric_pdf(k, 15, 3, 2); }); - __gnu_cxx::hypergeometric_distribution hd2{500, 50, 30}; + __gnu_cxx::hypergeometric_distribution<> hd2{500, 50, 30}; auto bhd2 = std::bind(hd2, eng); testDiscreteDist(bhd2, [](int k) { return hypergeometric_pdf(k, 500, 50, 30); }); - __gnu_cxx::hypergeometric_distribution hd3{100, 20, 5}; + __gnu_cxx::hypergeometric_distribution<> hd3{100, 20, 5}; auto bhd3 = std::bind(hd3, eng); testDiscreteDist(bhd3, [](int k) { return hypergeometric_pdf(k, 100, 20, 5); }); |

