Skip to content

Commit

Permalink
Fix benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Mar 28, 2019
1 parent ef9e6a0 commit bb492b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -73,6 +73,7 @@ rand_xoshiro = { path = "rand_xoshiro", version = "0.1" }
rand_isaac = { path = "rand_isaac", version = "0.1" }
rand_chacha = { path = "rand_chacha", version = "0.1" }
rand_xorshift = { path = "rand_xorshift", version = "0.1" }
rand_distr = { path = "rand_distr", version = "0.1" }

[build-dependencies]
autocfg = "0.1"
Expand Down
3 changes: 2 additions & 1 deletion benches/distributions.rs
Expand Up @@ -10,6 +10,7 @@

extern crate test;
extern crate rand;
extern crate rand_distr;

const RAND_BENCH_N: u64 = 1000;

Expand All @@ -21,7 +22,7 @@ use std::time::Duration;

use rand::{Rng, FromEntropy};
use rand::rngs::SmallRng;
use rand::distributions::*;
use rand_distr::{*, weighted::WeightedIndex};

macro_rules! distr_int {
($fnn:ident, $ty:ty, $distr:expr) => {
Expand Down

0 comments on commit bb492b6

Please sign in to comment.