values.cc: Fix thinkos.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 22 Nov 2013 10:08:39 +0000 (10:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 22 Nov 2013 10:08:39 +0000 (10:08 +0000)
2013-11-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/ext/random/hypergeometric_distribution/operators/
values.cc: Fix thinkos.

From-SVN: r205248

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc

index d3d6405..572dc8d 100644 (file)
@@ -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
index 78c0475..8923ef6 100644 (file)
@@ -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); });