forked from personal/squiggle.c
20 lines
349 B
C
20 lines
349 B
C
#include "../../../squiggle.h"
|
|
#include "../../../squiggle_more.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
double sample_model(uint64_t* seed){
|
|
return sample_to(1, 10, seed);
|
|
}
|
|
|
|
int main()
|
|
{
|
|
// set randomness seed
|
|
uint64_t* seed = malloc(sizeof(uint64_t));
|
|
*seed = 1000; // xorshift can't start with 0
|
|
|
|
// ...
|
|
|
|
free(seed);
|
|
}
|