From 36b7c210bc648aac51f9577b6ec6e4d78d198d43 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 28 Jul 2017 13:33:06 +0200 Subject: [PATCH] Correct OMP pragma --- src/ctbin/ctbin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctbin/ctbin.cpp b/src/ctbin/ctbin.cpp index a362978..fc008c3 100644 --- a/src/ctbin/ctbin.cpp +++ b/src/ctbin/ctbin.cpp @@ -254,7 +254,7 @@ void ctbin::run(void) log_header1(TERSE, gammalib::number("Bin observation", m_obs.size())); // Loop over all unbinned CTA observations in the container - #pragma omp parallel for(ctbin_run) + #pragma omp parallel for for (int i = 0; i < obs_list.size(); ++i) { // Get pointer to observation -- libgit2 0.21.4