From 6d5a07ea1f84d9a9b14c401367e69f7ead8791a3 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 25 Jul 2018 16:07:35 +0200 Subject: [PATCH] Add missing OpenMP include statement --- src/ctbin/ctbin.cpp | 5 +++++ src/ctmodel/ctmodel.cpp | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/ctbin/ctbin.cpp b/src/ctbin/ctbin.cpp index df4becd..5934d62 100755 --- a/src/ctbin/ctbin.cpp +++ b/src/ctbin/ctbin.cpp @@ -32,6 +32,11 @@ #include "ctbin.hpp" #include "GTools.hpp" +/* __ OpenMP section _____________________________________________________ */ +#ifdef _OPENMP +#include +#endif + /* __ Method name definitions ____________________________________________ */ #define G_GET_PARAMETERS "ctbin::get_parameters()" #define G_FILL_CUBE "ctbin::fill_cube(GCTAObservation*)" diff --git a/src/ctmodel/ctmodel.cpp b/src/ctmodel/ctmodel.cpp index c9d1017..a7fb9ef 100755 --- a/src/ctmodel/ctmodel.cpp +++ b/src/ctmodel/ctmodel.cpp @@ -32,6 +32,11 @@ #include "ctmodel.hpp" #include "GTools.hpp" +/* __ OpenMP section _____________________________________________________ */ +#ifdef _OPENMP +#include +#endif + /* __ Method name definitions ____________________________________________ */ #define G_GET_PARAMETERS "ctmodel::get_parameters()" #define G_GET_OBS "ctmodel::get_obs()" -- libgit2 0.21.4