fix: omp typo, which makes this now go faster

This commit is contained in:
NunoSempere 2023-11-18 23:01:29 +00:00
parent 1d5e0a6a7f
commit 9a56a63c61
2 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ void paralellize(float (*sampler)(uint32_t* seed), float* results, int n_threads
*seeds[i] = i + 1; // xorshift can't start with 0 *seeds[i] = i + 1; // xorshift can't start with 0
} }
#pragma omp parallelz private(i, sample_index, split_array_length) #pragma omp parallel private(i, sample_index, split_array_length)
{ {
#pragma omp for #pragma omp for
for (i = 0; i < n_threads; i++) { for (i = 0; i < n_threads; i++) {