[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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user