diff mbox

We left out the check for param_type in random distributions

Message ID 4F45A49C.1020309@verizon.net
State New
Headers show

Commit Message

Ed Smith-Rowland Feb. 23, 2012, 2:29 a.m. UTC
Hi,

    Built and tested on x86_64-linux-gnu. 

Seems safe enough to go in now, Ok.

Thanks,
Paolo.
2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>

	* testsuite/26_numerics/random/
	uniform_real_distribution/requirements/typedefs.cc: Check param_type.
	* testsuite/26_numerics/random/
	piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	chi_squared_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	normal_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	uniform_int_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	poisson_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	bernoulli_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	discrete_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	weibull_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	cauchy_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	negative_binomial_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	gamma_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	fisher_f_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	exponential_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	binomial_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	lognormal_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	extreme_value_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	student_t_distribution/requirements/typedefs.cc: Ditto.
	* testsuite/26_numerics/random/
	geometric_distribution/requirements/typedefs.cc: Ditto.
diff mbox

Patch

Index: testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::uniform_real_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::piecewise_constant_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::chi_squared_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::normal_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::uniform_int_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::poisson_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::bernoulli_distribution test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::discrete_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::weibull_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::cauchy_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::negative_binomial_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::gamma_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::fisher_f_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::exponential_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::binomial_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::lognormal_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::extreme_value_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::piecewise_linear_distribution<> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::student_t_distribution<double> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }
Index: testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc
===================================================================
--- testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc	(revision 183133)
+++ testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc	(working copy)
@@ -4,7 +4,7 @@ 
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2012 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -32,4 +32,5 @@ 
   typedef std::geometric_distribution<int> test_type;
 
   typedef test_type::result_type result_type;
+  typedef test_type::param_type param_type;
 }