tests for larger beta distributions
This commit is contained in:
parent
95afb7ea1a
commit
b80b05ca30
|
@ -212,6 +212,15 @@ int main(){
|
|||
}
|
||||
}
|
||||
|
||||
printf("Testing larger beta distributions\n");
|
||||
for(int i=0; i<100; i++){
|
||||
double a = sample_uniform(0, 1000 * 1000, seed);
|
||||
double b = sample_uniform(0, 1000 * 1000, seed);
|
||||
if ( (a > 0) && ( b >0)){
|
||||
test_beta(a, b, seed);
|
||||
}
|
||||
}
|
||||
|
||||
free(seed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user