diff options
Diffstat (limited to 'src/random.h')
-rw-r--r-- | src/random.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h index dac48f8..747cfeb 100644 --- a/src/random.h +++ b/src/random.h @@ -18,8 +18,10 @@ #define RANDOM_H #include "mt19937ar.h" +#include <stdlib.h> /* for size_t */ double randn(void); void rand_sphere(double *dir); +void ran_choose_weighted(int *dest, double *w, size_t k, int *src, size_t n); #endif |