Skip to content

Commit 3027722

Browse files
committed
use explicit nthreads > 1 for the C++ version of df103
1 parent 06fe2b7 commit 3027722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/tree/dataframe/df103_NanoAODHiggsAnalysis.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ void payload(unsigned int nthreads)
278278
{
279279
#ifdef R__USE_IMT
280280
// Enable multi-threading
281-
if (nthreads) {
281+
if (nthreads > 1) {
282282
ROOT::EnableImplicitMT(nthreads);
283283
} else {
284284
ROOT::DisableImplicitMT();

0 commit comments

Comments
 (0)