Commit 3745a526 by Rainer Orth Committed by Rainer Orth

Fix ext/random/hypergeometric_distribution/operators/values.cc on Solaris 9

	* testsuite/ext/random/hypergeometric_distribution/operators/values.cc
	(test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1.

From-SVN: r205446
parent 9fc023b7
2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/ext/random/hypergeometric_distribution/operators/values.cc
(test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1.
2013-11-22 François Dumont <fdumont@gcc.gnu.org>
* include/debug/safe_local_iterator.h (_Safe_local_iterator<>):
......
......@@ -31,6 +31,7 @@
void
test01()
{
#if _GLIBCXX_USE_C99_MATH_TR1
using namespace __gnu_test;
std::mt19937 eng;
......@@ -49,6 +50,7 @@ test01()
auto bhd3 = std::bind(hd3, eng);
testDiscreteDist(bhd3, [](int k)
{ return hypergeometric_pdf(k, 100, 20, 5); });
#endif
}
int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment