update squiggle.c

This commit is contained in:
NunoSempere 2023-11-30 00:04:24 +00:00
parent 546a9ee0b5
commit fb2c471172
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -22,7 +22,7 @@ int main()
return sample_mixture(samplers, weights, n_dists, seed);
}
int n_samples = 1000 * 1000, n_threads = 16;
int n_samples = 1000000, n_threads = 16;
double* results = malloc(n_samples * sizeof(double));
sampler_parallel(sampler_result, results, n_threads, n_samples);
printf("Avg: %f\n", array_sum(results, n_samples) / n_samples);