summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-05-11 23:26:59 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-05-11 23:26:59 +0000
commitdeb23ecdf93ba373747f2ec91f28672758d40ae1 (patch)
treec188c58c17c84c2e5c5bcc056a59eecf4e661186 /libcxx/test
parente476fa0b8e8e870bba67697628ffa688c245a861 (diff)
downloadbcm5719-llvm-deb23ecdf93ba373747f2ec91f28672758d40ae1.tar.gz
bcm5719-llvm-deb23ecdf93ba373747f2ec91f28672758d40ae1.zip
[rand.dist.bern.bin]. The evaluation function for this binomial distribution is hopefully just a placeholder. It is using the simplest and slowest method for computing the distribution and needs to be upgraded.
llvm-svn: 103524
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp b/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp
index f37dd3ed699..2c82a4fc67b 100644
--- a/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp
+++ b/libcxx/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp
@@ -19,7 +19,7 @@
int main()
{
{
- typedef std::uniform_int_distribution<> D;
+ typedef std::bernoulli_distribution D;
typedef std::minstd_rand0 G;
G g;
D d(.75);
OpenPOWER on IntegriCloud