summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/ext
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-22 10:08:39 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-22 10:08:39 +0000
commite16d3a3b4edb567c19cd686a68421414827414e7 (patch)
treec1175fa490b2ba54bda7d9c85ef5acb7a71887cf /libstdc++-v3/testsuite/ext
parentd3055c35c8e5095d902a43e3395e82ee3d96557e (diff)
downloadppe42-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
Diffstat (limited to 'libstdc++-v3/testsuite/ext')
-rw-r--r--libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc6
1 files changed, 3 insertions, 3 deletions
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); });
OpenPOWER on IntegriCloud