]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Nov 2013 10:08:39 +0000 (10:08 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Nov 2013 10:08:39 +0000 (10:08 +0000)
* 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

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

index d3d6405320f95e241864116b335127691054ae87..572dc8d07a8985a7cec507a6575dca0814e5246a 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 78c0475c935ea2e76196b47b51197154311639d0..8923ef6447b1c21c8cc572dbb07d5c2cee684c6e 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); });