Skip to content

Commit

Permalink
Adding missing pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
hrue committed Dec 6, 2024
1 parent 3e3d0be commit e916d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmrflib/approx-inference.c
Original file line number Diff line number Diff line change
Expand Up @@ -6954,7 +6954,7 @@ double GMRFLib_prior_mean_func_eval(int thread_id, GMRFLib_prior_mean_tp *prior_
int GMRFLib_prior_mean_get(int thread_id, double *pmean, int n, GMRFLib_prior_mean_tp **prior_mean)
{
if (prior_mean) {
#pragma parallel for num_threads(GMRFLib_OPENMP_NUM_THREADS_LEVEL())
#pragma omp parallel for num_threads(GMRFLib_OPENMP_NUM_THREADS_LEVEL())
for (int i = 0; i < n; i++) {
pmean[i] = (prior_mean[i] ? GMRFLib_prior_mean_func_eval(thread_id, prior_mean[i]) : 0.0);
}
Expand Down

0 comments on commit e916d32

Please sign in to comment.