From f06e110e0c2ec8d0bcb527394c398b431a9db874 Mon Sep 17 00:00:00 2001 From: moneta <lorenzo.moneta@cern.ch> Date: Mon, 25 Mar 2019 09:48:00 +0100 Subject: [PATCH] fix GetPoolSize for noimt --- tmva/tmva/inc/TMVA/Executor.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmva/tmva/inc/TMVA/Executor.h b/tmva/tmva/inc/TMVA/Executor.h index d378168c49f..da88a54c4ad 100644 --- a/tmva/tmva/inc/TMVA/Executor.h +++ b/tmva/tmva/inc/TMVA/Executor.h @@ -74,7 +74,11 @@ public: unsigned int GetPoolSize() const { if (!fMTExecImpl) return 1; - return fMTExecImpl->GetPoolSize(); +#ifdef R__USE_IMT + return fMTExecImpl->GetPoolSize(); +#else + return 1; +#endif } /// wrap TExecutor::Foreach -- GitLab