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
This commit is contained in:
parent
9fc023b767
commit
3745a526d6
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user